:root {
  --ink: #111827;
  --navy: #12213b;
  --navy-2: #1d355d;
  --orange: #d97824;
  --gold: #f3b43f;
  --teal: #12858b;
  --paper: #f5f2eb;
  --white: #ffffff;
  --muted: #667085;
  --line: rgba(17, 24, 39, 0.12);
  --shadow: 0 28px 80px rgba(17, 24, 39, 0.18);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(245, 242, 235, 0.95) 45%, #eef3f4),
    radial-gradient(circle at 10% 20%, rgba(217, 120, 36, 0.14), transparent 28rem),
    radial-gradient(circle at 90% 18%, rgba(18, 133, 139, 0.13), transparent 30rem);
  color: var(--ink);
  font-family: Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.site-shell {
  overflow: hidden;
}

.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  min-height: 78px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: minmax(190px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 60px rgba(17, 24, 39, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: 310px;
}

.brand img {
  width: 56px;
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(17, 24, 39, 0.12));
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.24;
  white-space: nowrap;
}

.brand strong {
  color: var(--orange);
  font-size: clamp(1rem, 1.6vw, 1.24rem);
}

.brand small {
  color: var(--navy);
  font-weight: 800;
  font-size: 0.8rem;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
}

.nav-links a {
  padding: 11px 12px;
  border-radius: 6px;
  color: var(--navy);
  font-size: 0.91rem;
  font-weight: 800;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover {
  background: rgba(217, 120, 36, 0.12);
  color: var(--orange);
}

.language-switcher {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(245, 242, 235, 0.9);
}

.language-switcher button,
.menu-toggle {
  font: inherit;
  cursor: pointer;
}

.language-switcher button {
  min-width: 36px;
  min-height: 34px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.language-switcher button:hover,
.language-switcher button.active {
  background: var(--navy);
  color: var(--white);
}

.language-switcher button:active {
  transform: translateY(1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px max(16px, calc((100vw - 1180px) / 2)) 56px;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(280px, 360px);
  align-items: end;
  gap: clamp(20px, 4vw, 48px);
  color: var(--white);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 16, 31, 0.88), rgba(18, 33, 59, 0.55) 48%, rgba(8, 16, 31, 0.22)),
    linear-gradient(0deg, rgba(8, 16, 31, 0.88), rgba(8, 16, 31, 0.04) 44%, rgba(8, 16, 31, 0.4));
}

[dir="rtl"] .hero::before {
  background:
    linear-gradient(270deg, rgba(8, 16, 31, 0.88), rgba(18, 33, 59, 0.55) 48%, rgba(8, 16, 31, 0.22)),
    linear-gradient(0deg, rgba(8, 16, 31, 0.88), rgba(8, 16, 31, 0.04) 44%, rgba(8, 16, 31, 0.4));
}

.hero::after {
  content: "";
  position: absolute;
  inset-inline-start: max(16px, calc((100vw - 1180px) / 2));
  bottom: 28px;
  width: 72px;
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero-copy {
  max-width: 760px;
  padding-bottom: clamp(24px, 6vw, 80px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-weight: 900;
  font-size: clamp(0.78rem, 1.5vw, 0.95rem);
}

.eyebrow.light {
  display: inline-flex;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.11);
  color: #ffe6bd;
  backdrop-filter: blur(12px);
}

h1 {
  margin: 0;
  max-width: 820px;
  color: var(--white);
  font-size: clamp(2.65rem, 7.2vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn.primary {
  background: linear-gradient(135deg, var(--orange), var(--gold));
  color: var(--white);
  box-shadow: 0 18px 42px rgba(217, 120, 36, 0.32);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
}

.quick-card {
  position: relative;
  align-self: end;
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.quick-card img {
  width: 64px;
  height: 68px;
  object-fit: contain;
  padding: 5px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.9);
}

.quick-card span {
  color: #ffe6bd;
  font-weight: 900;
}

.quick-card a,
.quick-card strong {
  color: var(--white);
  font-size: 0.95rem;
}

.stats-band {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: -34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.stats-band div {
  min-height: 128px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  border-inline-end: 1px solid var(--line);
}

.stats-band div:last-child {
  border-inline-end: 0;
}

.stats-band strong {
  color: var(--orange);
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1;
}

.stats-band span {
  color: var(--navy);
  font-weight: 800;
  line-height: 1.7;
}

.section,
.showcase,
.about-section,
.process-section,
.contact-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(74px, 10vw, 122px) 0 0;
}

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

.section-head.centered {
  margin: 0 auto;
  text-align: center;
}

.section h2,
.showcase h2,
.about-section h2,
.process-section h2,
.contact-section h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.9rem, 4.4vw, 3.35rem);
  line-height: 1.14;
}

.section-head > p:last-child,
.showcase-copy > p,
.about-panel p,
.contact-copy p {
  margin: 16px 0 0;
  color: #536173;
  line-height: 1.9;
  font-size: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.service-card {
  position: relative;
  min-height: 282px;
  padding: 25px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.78)),
    var(--white);
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(217, 120, 36, 0.38);
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.13);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 50px;
  height: 50px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(217, 120, 36, 0.16), rgba(18, 133, 139, 0.13));
  color: var(--orange);
  font-weight: 900;
  font-size: 1.15rem;
}

.service-card h3 {
  margin: 22px 0 12px;
  color: var(--navy);
  font-size: 1.18rem;
}

.service-card p,
.process-grid p {
  margin: 0;
  color: #536173;
  line-height: 1.86;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(300px, 0.98fr) minmax(0, 1.02fr);
  gap: clamp(22px, 5vw, 58px);
  align-items: center;
}

.showcase-image,
.about-image {
  position: relative;
  min-height: 500px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.showcase-image::after,
.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(18, 33, 59, 0.38));
}

.showcase-image img,
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-copy {
  padding: clamp(4px, 3vw, 28px) 0;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.feature-list span {
  position: relative;
  padding: 15px 18px;
  padding-inline-start: 48px;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
}

.feature-list span::before {
  content: "";
  position: absolute;
  top: 18px;
  inset-inline-start: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--gold));
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(22px, 5vw, 54px);
  align-items: stretch;
}

.about-panel {
  align-self: center;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.78)),
    var(--white);
  box-shadow: 0 22px 58px rgba(17, 24, 39, 0.1);
}

.about-image {
  min-height: 470px;
}

.process-section {
  position: relative;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.process-grid div {
  min-height: 230px;
  padding: 25px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 22px 58px rgba(17, 24, 39, 0.16);
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold);
  font-weight: 900;
}

.process-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.process-grid p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-section {
  padding-bottom: 46px;
}

.contact-copy {
  max-width: 760px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.contact-item {
  min-height: 170px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 64px rgba(17, 24, 39, 0.13);
}

.contact-item span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  color: var(--white);
  font-weight: 900;
}

.contact-item strong {
  color: var(--navy);
}

.contact-item small {
  color: var(--muted);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 18px;
  padding: 22px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer img {
  width: 34px;
  height: 36px;
  object-fit: contain;
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.topbar[data-animate],
.topbar[data-animate].is-visible {
  opacity: 1;
  transform: translateX(-50%);
}

.topbar[data-animate] {
  transition: background 180ms ease, box-shadow 180ms ease;
}

@keyframes heroDrift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(1.5%, -1%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1040px) {
  .topbar {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 100px;
    inset-inline: 16px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .menu-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .language-switcher {
    justify-self: end;
  }

  .hero {
    grid-template-columns: 1fr;
    align-content: end;
  }

  .quick-card {
    max-width: 430px;
  }

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

  .showcase,
  .about-section {
    grid-template-columns: 1fr;
  }

  .showcase-image,
  .about-image {
    min-height: 430px;
  }
}

@media (max-width: 720px) {
  .topbar {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 74px;
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 46px;
    height: 50px;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .menu-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .language-switcher {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .nav-links {
    top: 135px;
    inset-inline: 10px;
  }

  .hero {
    min-height: 100svh;
    padding: 148px 10px 42px;
  }

  .hero::after {
    inset-inline-start: 10px;
  }

  h1 {
    font-size: clamp(2.25rem, 13vw, 4rem);
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .quick-card {
    width: 100%;
  }

  .stats-band,
  .section,
  .showcase,
  .about-section,
  .process-section,
  .contact-section,
  .footer {
    width: calc(100% - 20px);
  }

  .stats-band,
  .services-grid,
  .process-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats-band div {
    min-height: 106px;
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats-band div:last-child {
    border-bottom: 0;
  }

  .service-card {
    min-height: 230px;
  }

  .showcase-image,
  .about-image {
    min-height: 340px;
  }

  .feature-list span {
    padding-inline-start: 44px;
  }

  .footer {
    text-align: center;
  }
}
