:root {
  --bg: #ffffff;
  --text: #111111;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e5e5;
  background: #ffffff;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 12px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  padding: 6px 10px;
  border-radius: 8px;
}

.nav-links a:hover {
  background: #f2f2f2;
}

main {
  padding: 20px 16px 48px;
}

.block {
  max-width: 860px;
  margin: 0 auto 32px;
  text-align: center;
}

.block h1,
.block h2 {
  margin: 0 0 10px;
}

.block p {
  margin: 0 0 12px;
  color: #454545;
}

.contact-form {
  display: grid;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: #2f2f2f;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #dadada;
  font: inherit;
  color: #111111;
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  justify-self: start;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid #111111;
  background: #111111;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.contact-form button:hover {
  background: #000000;
}
.list {
  list-style: disc;
  padding-left: 18px;
  text-align: left;
  display: inline-block;
  color: #454545;
  margin: 0;
}

.hero-photo {
  width: 100%;
  max-width: 960px;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 1px solid #e5e5e5;
}
