:root {
  --blue: #2b7db0;
  --blue-dark: #0d4f81;
  --blue-mid: #1f6fa3;
  --blue-soft: #d8e9f4;
  --blue-pale: #eef6fb;
  --black: #000000;
  --white: #ffffff;
  --gray: #b7c1c8;
  --soft: #eaf3f8;
  --text: #111111;
  --muted: #384b59;
  --line: #86a9bf;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: "Univers", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #d7e8f2;
  line-height: 1.55;
}

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

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

a:focus-visible {
  outline: 3px solid rgba(43, 125, 176, 0.35);
  outline-offset: 4px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 108px;
  padding: 20px clamp(22px, 5vw, 78px);
  border-top: 1px solid var(--white);
  border-bottom: 4px solid var(--blue-dark);
  background: linear-gradient(#ffffff, #e9f1f6);
}

.brand {
  width: min(360px, 58vw);
  padding-top: 10px;
}

.brand img {
  aspect-ratio: 1150 / 200;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0b2e46;
  font-size: 0.98rem;
}

.nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 17px;
  border: 1px solid #6d8ea3;
  border-top-color: #ffffff;
  border-left-color: #ffffff;
  background: linear-gradient(#fafdff, #c9ddea);
  box-shadow: inset -1px -1px 0 #7e9fb4, inset 1px 1px 0 #ffffff;
}

.nav a:hover {
  color: var(--black);
  background: linear-gradient(#ffffff, #bcd4e5);
}

.hero {
  max-width: none;
  margin: 0;
  min-height: calc(100dvh - 108px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.62fr);
  gap: clamp(34px, 7vw, 118px);
  align-items: center;
  padding: clamp(62px, 9vw, 128px) max(22px, calc((100vw - 1220px) / 2 + 28px));
  color: var(--white);
  border-bottom: 4px solid var(--blue-dark);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.08) 1px, transparent 1px),
    #2b7db0;
  background-size: 34px 34px;
}

.hero-text {
  max-width: 710px;
}

.label {
  display: inline-block;
  margin: 0 0 16px;
  padding: 3px 8px;
  color: var(--blue-dark);
  background: #d7e8f2;
  border: 1px solid #7ba3bb;
  font-size: 0.88rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  color: var(--black);
  font-size: clamp(3rem, 7vw, 5.9rem);
  font-weight: 700;
  line-height: 0.98;
  text-shadow: 2px 2px 0 rgba(0, 50, 86, 0.22);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  color: #092c43;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 700;
}

.hero-text p,
.section > p,
.band > p,
.contact > p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero .label,
.hero h1,
.hero-text p {
  color: var(--white);
}

.hero .label {
  color: var(--white);
  background: var(--blue-dark);
  border-color: #8bc0df;
}

.hero-text p {
  max-width: 620px;
  font-size: 1.18rem;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(8, 65, 102, 0.18);
}

.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 0 0 1px rgba(0, 42, 70, 0.35);
}

.hero-logo img {
  width: min(390px, 78%);
  aspect-ratio: 540 / 500;
  object-fit: cover;
}

.section {
  max-width: var(--max);
  margin: 22px auto;
  padding: clamp(58px, 8vw, 92px) clamp(18px, 4vw, 28px);
  border: 1px solid var(--line);
  border-top-color: #ffffff;
  border-left-color: #ffffff;
  background: #f7fbfd;
  box-shadow: inset -1px -1px 0 #85aabf, inset 1px 1px 0 #ffffff;
}

.intro {
  max-width: 900px;
}

.band {
  max-width: none;
  background: #dcecf5;
}

.band > * {
  max-width: 720px;
}

.band > div {
  margin-left: max(18px, calc((100vw - var(--max)) / 2 + 28px));
}

.band > p {
  margin-right: max(18px, calc((100vw - var(--max)) / 2 + 28px));
}

.services h2 {
  max-width: 760px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
  background: transparent;
}

.service-grid article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid #8aaec2;
  border-top-color: #ffffff;
  border-left-color: #ffffff;
  background: linear-gradient(#ffffff, #e0eef6);
  box-shadow: inset -1px -1px 0 #7fa5ba, inset 1px 1px 0 #ffffff;
}

.service-grid article::before {
  content: "";
  display: block;
  width: 42px;
  height: 5px;
  margin-bottom: 28px;
  border: 1px solid #0c4c79;
  background: #2b7db0;
}

.service-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.62fr);
  gap: 42px;
  align-items: end;
  padding: clamp(58px, 8vw, 92px) clamp(18px, 4vw, 28px);
  color: var(--white);
  border-top: 4px solid var(--blue-dark);
  border-bottom: 4px solid var(--blue-dark);
  background: #236d9d;
}

.contact > * {
  max-width: 620px;
}

.contact > div {
  margin-left: max(0px, calc((100vw - var(--max)) / 2 + 28px));
}

.contact > p {
  margin-right: max(0px, calc((100vw - var(--max)) / 2 + 28px));
  color: var(--white);
}

.contact .label {
  color: var(--white);
  background: var(--blue-dark);
  border-color: #8bc0df;
}

.contact h2 {
  margin-bottom: 0;
  color: var(--white);
  text-shadow: 1px 1px 0 rgba(0, 42, 70, 0.35);
}

.footer {
  display: flex;
  justify-content: center;
  padding: 34px 18px;
  border-top: 1px solid #ffffff;
  background: #e6f0f6;
}

.footer img {
  width: min(260px, 70vw);
}

@media (max-width: 820px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .nav {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
  }

  .hero,
  .band,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .hero-logo {
    min-height: 280px;
  }

  .band > div,
  .band > p,
  .contact > div,
  .contact > p {
    margin-left: 0;
    margin-right: 0;
  }

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

@media (max-width: 540px) {
  .brand {
    width: min(280px, 72vw);
  }

  h1 {
    font-size: clamp(2.45rem, 12.8vw, 3.2rem);
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: auto;
  }
}

.menu-toggle {
  display: none;
}

@media (max-width: 760px) {
  .header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 60;
    min-height: auto;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
  }

  .brand {
    width: min(280px, 62vw);
    padding-top: 0;
  }

  .hero {
    padding-top: 124px;
  }

  .menu-toggle {
    width: 46px;
    height: 42px;
    display: inline-grid;
    place-content: center;
    gap: 5px;
    margin-left: auto;
    border: 1px solid #6d8ea3;
    border-top-color: #ffffff;
    border-left-color: #ffffff;
    background: linear-gradient(#fafdff, #c9ddea);
    box-shadow: inset -1px -1px 0 #7e9fb4, inset 1px 1px 0 #ffffff;
    color: #0b2e46;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 22px;
    height: 2px;
    display: block;
    background: currentColor;
  }

  .header .nav {
    position: absolute;
    top: calc(100% - 1px);
    left: 18px;
    right: 18px;
    z-index: 20;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px;
    background: #e9f1f6;
    border: 1px solid #6d8ea3;
  }

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

  .header .nav a {
    justify-content: flex-start;
  }
}
