@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("fonts/barlow-700.woff2") format("woff2"); }

:root {
  --navy: #293377;
  --blue: #3c57a3;
  --text: #5160c3;
  --orange: #ec671b;
  --heading: #e9622b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Barlow", Arial, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
}
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.center { text-align: center; }

.topbar { height: 20px; background: var(--navy); }

.hero img { width: 100%; height: 35vw; min-height: 220px; object-fit: cover; object-position: center; }

.intro { background: var(--blue); color: #fff; overflow: hidden; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.intro p { font-size: 20px; margin: 64px 0; align-self: start; }
.intro-grid { height: 380px; }
.intro img { justify-self: end; align-self: start; width: 340px; max-width: none; margin-top: 48px; }

.block { padding: 64px 0; }
.split { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: center; }
.split.reverse { grid-template-columns: 1fr 300px; }
.split.reverse .card { order: 2; }
.card { width: 260px; justify-self: center; }
h2 { color: var(--heading); font-weight: 700; font-size: 28px; margin: 0 0 24px; }
ul { padding-left: 26px; margin: 8px 0; }
li { margin: 6px 0; }

.video { background: var(--navy); }
.video video { display: block; width: 100%; max-width: 980px; margin: 0 auto; aspect-ratio: 16 / 9; background: var(--navy); }

.instr p { font-size: 16px; }
.button {
  display: inline-block; min-width: 188px; padding: 8px 24px; margin-top: 16px;
  background: var(--navy); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 15px; letter-spacing: .05em;
}
.button:hover { background: var(--blue); }

.contact { position: relative; background: var(--orange); color: #fff; text-align: center; padding: 56px 0 40px; overflow: hidden; }
.contact .wrap { position: relative; z-index: 1; max-width: 480px; }
.contact p { margin: 0; font-weight: 600; font-size: 17px; }
.contact .mail { margin-top: 24px; font-size: 24px; }
.contact .mail a { color: var(--text); font-weight: 700; }
.contact-art { position: absolute; right: 0; bottom: 0; height: 100%; width: auto; max-width: none; opacity: .9; }

footer { text-align: center; padding: 40px 0 24px; font-size: 15px; }
footer p { margin: 0 0 12px; }
.logos { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; justify-items: center; gap: 24px; margin: 0 0 40px; }
.logos img { max-height: 110px; width: auto; }
.ewa { margin: 0 auto 56px; max-width: 260px; }
.copy { text-align: left; font-size: 13px; }

@media (max-width: 760px) {
  .intro-grid, .split, .split.reverse { grid-template-columns: 1fr; gap: 24px; }
  .split.reverse .card { order: 0; }
  .intro-grid { height: auto; }
  .intro p { margin: 40px 0 0; }
  .intro img { justify-self: center; width: 240px; margin: 0 0 -80px; }
  .block { padding: 40px 0; }
  .card { width: 200px; }
  .contact-art { opacity: .25; }
  .logos { grid-template-columns: 1fr; }
  .copy { text-align: center; }
}
