:root {
  --blue: #1647b7;
  --text: #202126;
  --muted: #8a8d95;
  --line: #e8e8eb;
  --panel: #eef4ff;
  --soft: #f7f7f8;
  --container: 1156px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 48px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.logo img {
  width: 104px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 16px;
}

.desktop-nav a,
.nav-group > button {
  color: #24242a;
  font: inherit;
  background: none;
  border: 0;
  padding: 26px 0;
  cursor: pointer;
}

.desktop-nav a:hover,
.nav-group > button:hover {
  color: var(--blue);
}

.nav-group {
  position: relative;
}

.nav-group span {
  display: inline-block;
  margin-left: 5px;
}

.dropdown {
  position: absolute;
  top: 64px;
  left: -20px;
  display: none;
  min-width: 260px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(12, 25, 60, 0.14);
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  white-space: nowrap;
}

.nav-group:hover .dropdown {
  display: block;
}

.lang {
  color: #9b9da5;
}

.header-cta,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 23px;
  border-radius: 999px;
  background: #f6f6f7;
  color: #23242a;
  white-space: nowrap;
}

.header-cta {
  min-width: 148px;
  height: 38px;
  background: var(--blue);
  color: #fff;
}

.desktop-nav .header-cta {
  display: inline-flex;
  height: 38px;
  padding: 0 23px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
}

.desktop-nav .header-cta:hover {
  color: #fff;
}

.pill-light {
  height: 52px;
  min-width: 139px;
  background: #fff;
  font-size: 18px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #222;
}

.mobile-panel {
  position: fixed;
  inset: 70px 0 auto 0;
  z-index: 19;
  display: none;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.mobile-panel.open {
  display: flex;
}

.hero {
  min-height: 540px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.52) 50%, rgba(0, 0, 0, 0.45) 100%),
    url("assets/hero.webp") center / cover no-repeat;
}

.hero-copy {
  width: min(var(--container), calc(100% - 96px));
  margin: 0 auto;
  color: #fff;
}

.hero h1 {
  max-width: 1130px;
  margin: 0 0 18px;
  font-size: clamp(46px, 6vw, 74px);
  line-height: 1.14;
  letter-spacing: 0;
  font-weight: 800;
}

.hero p {
  max-width: 790px;
  margin: 0 0 35px;
  font-size: 21px;
  line-height: 1.42;
}

.section {
  width: min(var(--container), calc(100% - 96px));
  margin: 0 auto;
  padding: 66px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  padding-bottom: 44px;
}

h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.16;
  letter-spacing: 0;
}

.lead {
  max-width: 510px;
  margin: 30px 0 0;
  font-size: 21px;
  line-height: 1.43;
}

.subdivisions h3 {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 400;
}

.subdivisions ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.subdivisions li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 2px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  font-size: 18px;
}

.subdivisions li:last-child {
  border-bottom: 1px solid var(--line);
}

.image-pair {
  display: grid;
  grid-template-columns: 1.1fr 0.86fr;
  gap: 8px;
  padding-top: 0;
  padding-bottom: 62px;
}

.image-pair img {
  width: 100%;
  height: 348px;
  object-fit: cover;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.carousel-controls {
  display: flex;
  gap: 10px;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.achievement-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 156px) / 2);
  gap: 156px;
  overflow: hidden;
  padding: 44px 73px 0;
  scroll-behavior: smooth;
}

.achievement-card {
  min-height: 636px;
  padding: 34px 33px;
  border: 1px solid #cfd7e6;
  border-radius: 8px;
  background: var(--panel);
}

.achievement-card h3 {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 56px;
  font-weight: 400;
}

.achievement-card li {
  margin: 0 0 9px;
  font-size: 18px;
  line-height: 1.42;
}

.directions h2,
.capabilities h2 {
  margin-bottom: 34px;
}

.direction-row {
  display: grid;
  grid-template-columns: 0.9fr 1fr 130px;
  gap: 36px;
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.direction-row:last-child {
  border-bottom: 1px solid var(--line);
}

.direction-row h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
}

.direction-row p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.direction-row .pill {
  justify-self: end;
  height: 38px;
}

.capability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 184px;
  align-items: start;
}

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

.capability-card-centered {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc((100% - 184px) / 2);
}

.card-copy {
  position: relative;
  min-height: 188px;
  padding: 29px 64px 26px 24px;
}

.card-copy h3 {
  margin: 0 0 8px;
  font-size: 25px;
  line-height: 1.3;
}

.card-copy p {
  margin: 0;
  color: #8c8c92;
  font-size: 16px;
  line-height: 1.5;
}

.circle-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 22px;
}

.capability-card img {
  width: 100%;
  height: 214px;
  object-fit: cover;
}

.partners {
  padding: 34px 0 92px;
  overflow: hidden;
}

.partners h2 {
  width: min(var(--container), calc(100% - 96px));
  margin: 0 auto 30px;
}

.partner-strip {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: partner-scroll 30s linear infinite;
}

.partner-logo {
  flex: 0 0 220px;
  display: grid;
  place-items: center;
  width: 220px;
  height: 220px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}

.partner-logo img {
  max-width: 72%;
  max-height: 68px;
}

@keyframes partner-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-45%);
  }
}

.contacts {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 70px;
  align-items: start;
  padding-top: 0;
}

.contacts dl {
  margin: 44px 0 0;
}

.contacts dt {
  margin-top: 28px;
  color: var(--muted);
  font-size: 16px;
}

.contacts dd {
  margin: 8px 0 0;
  font-size: 21px;
  line-height: 1.35;
}

.contacts img {
  width: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: 8px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding: 52px calc((100% - min(var(--container), calc(100% - 96px))) / 2);
  background: #17181d;
  color: #fff;
}

.site-footer img {
  width: 112px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 310px;
  margin: 24px 0;
  color: #c7c8cc;
  line-height: 1.55;
}

.site-footer h3 {
  margin: 0 0 20px;
  font-size: 20px;
}

.site-footer a:not(.header-cta) {
  display: block;
  margin: 0 0 12px;
  color: #c7c8cc;
}

@media (max-width: 1020px) {
  .site-header {
    padding: 0 24px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-copy,
  .section,
  .partners h2 {
    width: min(100% - 40px, var(--container));
  }

  .split,
  .image-pair,
  .contacts,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .achievement-track {
    grid-auto-columns: min(86vw, 470px);
    gap: 24px;
    overflow-x: auto;
    padding: 32px 0 0;
  }

  .direction-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .direction-row .pill {
    justify-self: start;
  }

  .capability-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .capability-card-centered {
    width: 100%;
  }

  .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 550px;
    align-items: flex-end;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: 41px;
  }

  .hero p,
  .lead {
    font-size: 18px;
  }

  .section {
    padding: 48px 0;
  }

  h2 {
    font-size: 34px;
  }

  .image-pair img {
    height: 270px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .achievement-card {
    min-height: auto;
  }

  .achievement-card h3 {
    font-size: 48px;
  }

  .partner-logo {
    flex-basis: 176px;
    width: 176px;
    height: 176px;
  }
}
