:root {
  --blue: #0642a5;
  --blue-dark: #003783;
  --blue-mid: #a9bde1;
  --text: #121923;
  --muted: #3b4654;
  --white: #ffffff;
  --max: 1920px;
  --content: 1680px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  min-height: 58px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}
.topbar__inner {
  width: min(100%, var(--content));
  margin: 0 auto;
  min-height: 58px;
  padding: 0 92px;
  display: flex;
  align-items: center;
  gap: 54px;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.topbar__item img { width: 25px; height: 25px; filter: brightness(0) invert(1); }
.topbar a { text-decoration: none; }
.topbar__divider {
  display: inline-block;
  width: 2px;
  height: 24px;
  background: rgba(255,255,255,.85);
}

.section-bg {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}


.section-inner {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding-left: 90px;
  padding-right: 90px;
}

.hero {
  min-height: 817px;
  background-image: url('../img/hero-bg.png');
}
.hero__inner {
  min-height: 817px;
  padding-top: 68px;
}
.logo--header {
  width: 270px;
  margin-bottom: 105px;
}
.hero h1 {
  margin: 0;
  max-width: 870px;
  font-size: 48px;
  line-height: 1.28;
  font-weight: 500;
  color: #fff;
}
.hero h1 span {
  display: table;
  margin-bottom: 10px;
  padding: 2px 18px 8px;
  background: var(--blue);
}
.hero__copy {
  max-width: 700px;
  margin-top: 95px;
  font-size: clamp(18px, 1.12vw, 22px);
  line-height: 1.46;
  font-weight: 500;
}
.hero__copy p { margin: 0 0 14px; }

.contact-form-section {
  min-height: 550px;
  background-color: #d9e3f5;
  background-image: url('../img/contact-form-bg.png');
}
.contact-form-section__inner {
  min-height: 470px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}
.contact-form-box {
  width: min(100%, 650px);
  margin-right: 22px;
}
.contact-form-box h2 {
  margin: 0 0 28px;
  color: var(--blue);
  font-size: 48px;
  line-height: 1.1;
  font-weight: 600;
}
.form {
  display: grid;
  gap: 18px;
}
.form label:not(.hp) { display: block; }
.form input,
.form textarea {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 14px 18px;
  font: inherit;
  font-size: 18px;
  color: #172033;
  background: rgba(255,255,255,.92);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.form textarea { min-height: 135px; resize: vertical; }
.form input:focus,
.form textarea:focus {
  outline: 3px solid rgba(6,66,165,.25);
  background: #fff;
}
.form .hp { position: absolute; left: -9999px; opacity: 0; }
.field-help {
  display: block;
  margin: 6px 0 0 8px;
  font-size: 13px;
  color: rgba(0, 42, 105, .82);
}
.form button {
  justify-self: end;
  border: 0;
  border-radius: 8px;
  padding: 12px 56px;
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,46,120,.18);
}
.form button:hover { background: var(--blue-dark); }
.form-message {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 700;
}
.form-message--success { background: rgba(255,255,255,.78); color: #064b28; }
.form-message--error { background: rgba(255,255,255,.82); color: #8b1e1e; }

.contact-info {
  min-height: 800px;
  background-image: url('../img/contact-info-bg.png');
}
.contact-info__inner {
  min-height: 674px;
  padding-top: 88px;
  padding-bottom: 78px;
}
.contact-info h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.16;
  font-weight: 500;
  color: #fff;
}
.contact-info h2 span {
  display: inline-block;
  padding: 3px 17px 8px;
  background: var(--blue);
}
.contact-info__lead {
  max-width: 640px;
  margin: 70px 0 62px;
  font-size: clamp(17px, 1vw, 20px);
  line-height: 1.5;
  font-weight: 500;
}
.contact-list {
  display: grid;
  gap: 42px;
  max-width: 560px;
}
.contact-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 28px;
  align-items: center;
  font-size: clamp(18px, 1vw, 21px);
  line-height: 1.55;
  font-weight: 700;
}
.contact-row img {
  width: 57px;
  height: 57px;
  object-fit: contain;
}
.contact-row a {
  color: var(--blue);
  text-decoration: none;
}
.contact-row a:hover { text-decoration: underline; }

.footer {
  background: var(--blue);
  color: #fff;
}
.footer__inner {
  width: min(100%, var(--content));
  margin: 0 auto;
  min-height: 160px;
  padding: 34px 90px;
  display: grid;
  grid-template-columns: 265px 2px 1fr;
  align-items: center;
  gap: 58px;
}
.footer__logo {
  /*width: 220px;*/
  filter: brightness(0) invert(1);
}
.footer__divider {
  width: 2px;
  height: 270px;
  background: rgba(255,255,255,.7);
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 28px 42px;
  align-items: start;
}
.footer__col {
  display: grid;
  gap: 10px;
  align-content: start;
  font-size: clamp(15px, .92vw, 18px);
  line-height: 1.35;
}
.footer__col strong {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(20px, 1.25vw, 27px);
  line-height: 1.1;
}
.footer__col--stacked strong:not(:first-child) {
  margin-top: 18px;
}
.footer__col span {
  color: rgba(255,255,255,.92);
}
.footer__copyright {
  min-height: 48px;
  padding: 13px 24px;
  background: var(--blue-dark);
  text-align: center;
  color: rgba(255,255,255,.62);
  font-size: 16px;
}

@media (max-width: 1200px) {
  .section-inner,
  .topbar__inner,
  .footer__inner { padding-left: 42px; padding-right: 42px; }
  .hero, .hero__inner { min-height: 680px; }
  .logo--header { margin-bottom: 70px; }
  .hero__copy { margin-top: 65px; max-width: 560px; }
  .contact-form-box { width: min(100%, 560px); margin-right: 0; }
  .footer__inner { grid-template-columns: 220px 2px 1fr; gap: 34px; }
  .footer__nav { grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 26px 34px; }
}

@media (max-width: 900px) {
  .topbar__inner {
    min-height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .topbar__divider { display: none; }
  .hero,
  .contact-form-section,
  .contact-info {
    background-position: center top;
  }
  .hero::before,
  .contact-form-section::before,
  .contact-info::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.72);
    pointer-events: none;
  }
  .hero,
  .contact-form-section,
  .contact-info { position: relative; }
  .hero__inner,
  .contact-form-section__inner,
  .contact-info__inner { position: relative; z-index: 1; }
  .hero, .hero__inner { min-height: auto; }
  .hero__inner { padding-top: 48px; padding-bottom: 58px; }
  .logo--header { width: 220px; margin-bottom: 46px; }
  .hero h1 { font-size: 38px; }
  .hero__copy { margin-top: 42px; max-width: 100%; }
  .contact-form-section__inner { justify-content: center; }
  .contact-form-box { width: 100%; }
  .contact-info__lead { margin: 44px 0 46px; }
  .footer__inner {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 24px;
  }
  .footer__divider { display: none; }
  .footer__nav { grid-template-columns: repeat(2, minmax(180px, 1fr)); width: 100%; }
}

@media (max-width: 560px) {
  .section-inner,
  .topbar__inner,
  .footer__inner { padding-left: 22px; padding-right: 22px; }
  .topbar { font-size: 15px; }
  .hero h1 { font-size: 30px; }
  .hero h1 span { padding-left: 10px; padding-right: 10px; }
  .hero__copy,
  .contact-info__lead { font-size: 16px; }
  .contact-form-box h2,
  .contact-info h2 { font-size: 34px; }
  .form input,
  .form textarea { font-size: 16px; }
  .contact-row {
    grid-template-columns: 46px 1fr;
    gap: 16px;
    font-size: 16px;
  }
  .contact-row img { width: 42px; height: 42px; }
  .footer__nav { grid-template-columns: 1fr; gap: 24px; }
  .footer__col { font-size: 16px; }
  .footer__col strong { font-size: 22px; }
}
