:root {
  --ink: #182532;
  --muted: #687784;
  --panel: #ffffff;
  --line: #d7e1e8;
  --field: #f3f7fa;
  --green: #2d6f99;
  --green-dark: #173c56;
  --rust: #2f83b8;
  --amber: #7fc3e8;
  --blue: #245f86;
  --bg: #edf3f7;
  --shadow: 0 18px 46px rgba(18, 38, 55, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(237, 243, 247, .94);
  border-bottom: 1px solid rgba(24, 37, 50, .1);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  order: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(24, 34, 33, .14));
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.nav-links {
  order: 1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 13px;
  border-radius: 6px;
  color: #334657;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  background: #dfeaf1;
  color: var(--green-dark);
}

.menu-button {
  order: 1;
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  background: #c9d9e3;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(12, 29, 43, .9) 0%, rgba(12, 29, 43, .72) 34%, rgba(12, 29, 43, .18) 66%, rgba(12, 29, 43, .04) 100%), url("hero-workers.png");
  background-size: cover;
  background-position: center;
}

.hero-inner {
  position: relative;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0 46px;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #a9ddf4;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 3px;
  background: var(--amber);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(44px, 7vw, 82px);
}

.hero p {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--amber);
  color: #102a3b;
}

.button.secondary {
  background: #fff;
  color: var(--green-dark);
}

.button.outline {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}

.hero-strip {
  position: relative;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
}

.hero-stat {
  padding: 18px 22px 22px 0;
}

.hero-stat strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.hero-stat span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, .74);
  font-size: 14px;
}

.section {
  padding: 78px 0;
}

.section.alt {
  background: #fff;
}

.wrap {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head h2,
.page-title h1 {
  font-size: clamp(32px, 4vw, 52px);
}

.section-head p,
.page-title p {
  max-width: 610px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 0 rgba(24, 34, 33, .04);
}

.card h3 {
  font-size: 22px;
}

.card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
}

.icon svg {
  width: 23px;
  height: 23px;
  stroke-width: 2.2;
}

.jobs-list {
  display: grid;
  gap: 14px;
}

.job-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.job-row h3 {
  font-size: 21px;
}

.job-row p {
  margin: 6px 0 0;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  background: #e6f1f7;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.band {
  background: var(--green-dark);
  color: #fff;
}

.band .wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 44px;
  align-items: center;
}

.band p {
  color: rgba(255, 255, 255, .78);
}

.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 34px;
  color: #eef7fb;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--amber);
}

.page-title {
  padding: 74px 0 44px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-bar .tag {
  background: #fff;
  border: 1px solid var(--line);
}

.vacancy-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
}

.vacancy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.salary {
  color: var(--rust);
  font-size: 22px;
  font-weight: 900;
  white-space: nowrap;
}

.timeline {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.timeline-item {
  position: relative;
  padding: 22px 24px 22px 76px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline-item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 22px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-weight: 900;
}

.contact-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 22px;
}

.contact-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:first-child {
  padding-top: 0;
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--field);
  color: var(--ink);
  font: inherit;
}

.form textarea {
  min-height: 128px;
  resize: vertical;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--rust);
  font-weight: 800;
}

.form-message.success {
  color: var(--green-dark);
}

.map-box {
  min-height: 300px;
  overflow: hidden;
  background: #cbdbe5;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-box iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.site-footer {
  padding: 30px 0;
  color: rgba(255, 255, 255, .72);
  background: #101c26;
}

.footer-grid {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow-wrap: anywhere;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 860px) {
  .menu-button {
    display: block;
  }

  .nav-links {
    order: 3;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero {
    min-height: 720px;
  }

  .hero::before {
    background-image: linear-gradient(180deg, rgba(12, 29, 43, .9) 0%, rgba(12, 29, 43, .78) 50%, rgba(12, 29, 43, .22) 100%), url("hero-workers.png");
    background-position: 62% center;
  }

  .hero-strip,
  .grid.three,
  .grid.two,
  .band .wrap,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .job-row,
  .vacancy-card {
    grid-template-columns: 1fr;
  }

  .salary {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .nav {
    width: min(100% - 24px, 1160px);
  }

  .hero-inner,
  .hero-strip,
  .wrap,
  .footer-grid {
    width: min(100% - 24px, 1160px);
  }

  .hero-inner {
    padding-top: 62px;
  }

  h1 {
    font-size: 42px;
  }

  .hero p,
  .section-head p,
  .page-title p {
    font-size: 16px;
  }

  .section {
    padding: 54px 0;
  }

  .page-title {
    padding: 52px 0 34px;
  }

  .card,
  .timeline-item {
    padding: 20px;
  }

  .timeline-item {
    padding-left: 66px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}
