:root {
  --bg: #fff;
  --surface: #fff;
  --surface-muted: #E0E0E0;
  --text: #171717;
  --brand: #0199D8;
}

* {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Helvetica, sans-serif;
  margin: 0 0 22px;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Open Sans", Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: inherit;
}

.container {
  width: min(1060px, 92vw);
  margin: 0 auto;
}

.narrow {
  width: min(960px, 92vw);
}

.site-header {
  background: #fff;
}

.site-header .container {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand img {
  width: 195px;
  height: auto;
  display: block;
}

nav {
  margin-right: 80px;
}

nav a {
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
}

.hero {
  height: 470px;
  background-image: url("/img/sifrabg_hi1.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.section {
  padding: 48px 0;
  background: var(--surface);
}

.section-muted {
  background: var(--surface-muted);
}

h2 {  
  line-height: 1.2;
  font-size: 24px;
}

p {
  margin: 0 0 14px;
  font-size: 17px;
  /* max-width: 41em; */
}

.cards {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.cards li {
  background: var(--brand);
  color: #fff;
  min-height: 210px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.05;
}

.contact {
  text-align: center;
}

address {
  font-style: normal;
  font-size: 17px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .site-header .container {
    min-height: 100px;
  }

  .brand img {
    width: 150px;
  }

  nav {
    margin-right: 0;
  }

  nav a {
    font-size: 18px;
  }

  .hero {
    height: 300px;
  }

  h2 {
    font-size: 20px;
  }

  p {
    font-size: 16px;
  }

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

  .cards li {
    font-size: 17px;
    min-height: 160px;
  }

  address {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .site-header .container {
    min-height: 96px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
    gap: 8px;
  }

  .brand img {
    width: 150px;
  }

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

  p {
    font-size: 15px;
  }

  address {
    font-size: 15px;
  }
}
