:root {
  color-scheme: light;
  --blue: #0877ad;
  --blue-dark: #04679a;
  --blue-pale: #cde9f5;
  --ink: #28526d;
  --muted: #68879a;
  --line: #b8d8e8;
  --paper: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--blue-pale);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.topline {
  background: var(--blue);
  color: #d8eef8;
  font-size: 15px;
}

.topline .container {
  min-height: 30px;
  display: flex;
  align-items: center;
}

.masthead {
  background: rgba(205, 233, 245, 0.94);
}

.masthead .container {
  min-height: 122px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 42px;
}

.brand {
  display: inline-grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 68% 32%, #64b8da 0 12px, transparent 13px),
    linear-gradient(135deg, #42a7cf, #075f94);
  box-shadow: inset -10px 0 0 rgba(255, 255, 255, 0.2);
}

.brand strong {
  display: block;
  color: #185a8e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-style: italic;
  line-height: 1;
}

.brand span span {
  display: block;
  margin-top: 6px;
  color: #4e7790;
  font-size: 13px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.info {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  min-width: 220px;
  padding-left: 34px;
  border-left: 1px solid rgba(8, 119, 173, 0.18);
}

.info-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid #1d6f9c;
  border-radius: 50%;
  color: #1d6f9c;
  font-size: 21px;
  font-weight: 700;
}

.info strong {
  display: block;
  color: #145a89;
  font-size: 16px;
}

.info span span {
  display: block;
  margin-top: 4px;
  color: #517992;
  line-height: 1.3;
}

.nav-wrap {
  background: var(--blue);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(4, 103, 154, 0.65);
}

.nav {
  display: flex;
  align-items: stretch;
  min-height: 36px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: 0 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  color: #d9edf6;
  font-size: 15px;
  text-decoration: none;
  text-transform: uppercase;
}

.nav a:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

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

.hero {
  min-height: 590px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(3, 65, 103, 0.76), rgba(3, 65, 103, 0.12)),
    url("https://upload.wikimedia.org/wikipedia/commons/8/8f/Throw_Pillow.JPG") center / cover;
}

.hero-panel {
  width: min(560px, 100%);
  padding: 34px 0;
  color: #fff;
}

.hero-panel .eyebrow {
  margin: 0 0 12px;
  color: #c9edf8;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.02;
}

.hero-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 22px;
  line-height: 1.25;
}

.hero-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.hero-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 9px;
  border-radius: 50%;
  background: #fff;
}

.section {
  padding: 58px 0 28px;
  background: var(--blue-pale);
}

.page-hero {
  padding: 64px 0 42px;
  background: rgba(255, 255, 255, 0.18);
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(38px, 6vw, 54px);
  font-weight: 400;
}

.page-hero p {
  max-width: 760px;
  margin: 16px auto 0;
  color: #426f86;
  font-size: 18px;
  line-height: 1.65;
}

.section-title {
  margin: 0 0 28px;
  text-align: center;
}

.section-title h2 {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin: 0;
  color: var(--blue);
  font-size: clamp(32px, 5vw, 42px);
  font-weight: 400;
}

.section-title h2::before,
.section-title h2::after {
  content: "";
  height: 2px;
  background: rgba(8, 119, 173, 0.34);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cards.two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  margin: 0 auto;
}

.service-card {
  min-height: 100%;
  padding: 0 0 24px;
  background: rgba(255, 255, 255, 0.22);
  text-align: center;
}

.service-card h3 {
  margin: 0 0 12px;
  color: #37708f;
  font-size: 23px;
  font-weight: 400;
}

.service-card figure {
  height: 238px;
  margin: 0 0 18px;
  overflow: hidden;
}

.service-card p {
  max-width: 310px;
  margin: 0 auto;
  padding: 0 16px;
  color: #426f86;
  font-size: 16px;
  line-height: 1.55;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact-item {
  min-height: 116px;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.24);
  text-align: center;
}

.contact-item strong {
  display: block;
  margin-bottom: 8px;
  color: #0a6fa5;
  font-size: 19px;
}

.contact-item span {
  color: #426f86;
  line-height: 1.5;
}

footer {
  background: var(--blue);
  color: #d9edf6;
  padding: 24px 0 30px;
}

footer .container {
  display: grid;
  gap: 14px;
}

.sources {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.45;
}

.sources a {
  color: #fff;
}

@media (max-width: 900px) {
  .masthead .container {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 0;
  }

  .info {
    min-width: 0;
    padding-left: 0;
    border-left: 0;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav a {
    flex: 1 1 50%;
    min-height: 42px;
  }

  .hero {
    min-height: 520px;
  }

  .cards,
  .cards.two,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    overflow-x: hidden;
  }

  .topline .container {
    display: block;
    padding: 7px 0;
    text-align: center;
    line-height: 1.35;
  }

  .brand {
    grid-template-columns: 44px 1fr;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 26px;
  }

  .hero {
    min-height: 460px;
  }

  .hero-panel h1 {
    font-size: 38px;
    line-height: 1.06;
  }

  .hero-list {
    font-size: 18px;
  }

  .section-title h2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-title h2::before,
  .section-title h2::after {
    width: 100%;
  }
}
