:root {
  color-scheme: light;
  --ink: #172130;
  --muted: #5c6877;
  --paper: #fbfcfb;
  --wash: #e6f1ec;
  --line: #cad9d5;
  --violet: #2d2a86;
  --teal: #1d667a;
  --green: #0b7541;
  --mint: #48a099;
  --gold: #d59b3a;
  --shadow: 0 18px 60px rgba(22, 42, 54, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

.topbar {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(18px, 4vw, 58px);
  color: #fff;
  background: linear-gradient(105deg, rgba(45, 42, 134, 0.96), rgba(29, 102, 122, 0.96), rgba(11, 117, 65, 0.96));
  box-shadow: 0 10px 34px rgba(20, 35, 60, 0.22);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 900;
  font-size: 1.35rem;
}

.brand-logo {
  width: 52px;
  height: 52px;
  display: block;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(10, 20, 38, 0.18);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.12rem;
}

.brand small {
  opacity: 0.78;
  font-size: 0.8rem;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.nav-links a,
.lang-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
}

.lang-toggle {
  cursor: pointer;
  font: inherit;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  padding: 132px clamp(22px, 6vw, 92px) 96px;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.9) contrast(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 20, 40, 0.88), rgba(25, 70, 83, 0.72), rgba(11, 117, 65, 0.36)),
    linear-gradient(0deg, rgba(10, 16, 24, 0.62), rgba(10, 16, 24, 0.12));
}

.hero-content {
  position: relative;
  max-width: 790px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.cta h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.1;
}

.hero h1 {
  max-width: 860px;
  font-size: clamp(2.65rem, 6vw, 5.9rem);
}

.hero-copy {
  max-width: 700px;
  margin: 24px 0 0;
  font-size: clamp(1.06rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 8px;
  font-weight: 900;
}

.btn.primary {
  color: #092219;
  background: #fff;
}

.btn.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: clamp(54px, 7vw, 92px) clamp(18px, 4vw, 58px);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.metric {
  padding: 32px clamp(22px, 4vw, 46px);
  background: var(--wash);
}

.metric strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  color: var(--teal);
}

.metric span {
  color: var(--muted);
  font-weight: 650;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 34px;
}

.section-heading h2,
.cta h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.services {
  background: #f7faf8;
}

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

.service-card {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.service-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: left top;
  border-bottom: 1px solid var(--line);
}

.service-body {
  padding: clamp(24px, 3vw, 36px);
}

.service-label {
  margin: 0 0 8px;
  color: var(--green);
  font-weight: 900;
}

.service-card.accent .service-label {
  color: var(--violet);
}

.service-body h3 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  letter-spacing: 0;
}

.service-body p {
  color: var(--muted);
  margin: 0 0 22px;
  font-size: 1.04rem;
}

.service-body ul {
  margin: 0;
  padding-inline-start: 22px;
}

.service-body li {
  margin: 8px 0;
  font-weight: 750;
}

.workflow {
  background: #fff;
}

.capabilities {
  background: linear-gradient(180deg, #ffffff, #eef7f2);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.capability-card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(22, 42, 54, 0.1);
}

.capability-card span {
  color: var(--gold);
  font-size: 1.8rem;
  font-weight: 900;
}

.capability-card h3 {
  margin: 20px 0 10px;
  font-size: 1.38rem;
}

.capability-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.capability-video {
  display: block;
  width: 100%;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0f1724;
  aspect-ratio: 9 / 16;
  max-height: 420px;
  object-fit: contain;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.step {
  min-height: 260px;
  padding: 28px;
  background: linear-gradient(180deg, #ffffff, #eff6f2);
}

.step span {
  color: var(--gold);
  font-weight: 900;
  font-size: 1.9rem;
}

.step h3 {
  margin: 22px 0 8px;
  font-size: 1.35rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.cta {
  margin: 0 clamp(18px, 4vw, 58px) clamp(42px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(34px, 5vw, 58px);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(110deg, var(--violet), var(--teal), var(--green));
}

.cta p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.83);
  margin: 18px 0 0;
  font-size: 1.1rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 58px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

[dir="ltr"] .hero-shade {
  background:
    linear-gradient(270deg, rgba(13, 20, 40, 0.88), rgba(25, 70, 83, 0.72), rgba(11, 117, 65, 0.36)),
    linear-gradient(0deg, rgba(10, 16, 24, 0.62), rgba(10, 16, 24, 0.12));
}

[dir="ltr"] .hero-content {
  margin-left: auto;
}

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

  .nav-links {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .nav-links a {
    flex: 1;
  }

  .intro-band,
  .service-grid,
  .capability-grid,
  .steps,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 82vh;
    padding-top: 172px;
  }
}

@media (max-width: 620px) {
  .topbar {
    gap: 12px;
  }

  .brand small,
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 116px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .footer {
    flex-direction: column;
  }
}
