* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #222;
  background: #fff;
}

.navbar {
  border-bottom: 1px solid #ddd;
  background: #fff;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: inherit;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus {
  text-decoration: underline;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.25rem;
  cursor: pointer;
}

.bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: #222;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.page-content img {
  max-width: 100%;
  height: auto;
}

a {
  color: #245a8d;
}

.contact-box {
  margin-top: 3rem;
  padding: 2rem;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  background: #f8f8f8;
}

.contact-box h2 {
  margin-top: 0;
}

.contact-box form {
  display: grid;
  gap: 0.6rem;
}

.contact-box label {
  font-weight: 600;
  margin-top: 0.5rem;
}

.contact-box input,
.contact-box textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #bbb;
  border-radius: 4px;
  background: #fff;
  font: inherit;
}

.contact-box button {
  width: fit-content;
  margin-top: 0.75rem;
  padding: 0.7rem 1.2rem;
  border: 0;
  border-radius: 4px;
  background: #222;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.contact-box button:hover,
.contact-box button:focus {
  opacity: 0.85;
}

@media (max-width: 700px) {
  .nav-container {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.75rem;
  }

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

  .contact-box {
    padding: 1.25rem;
  }
}
