:root {
  --navy: #3b4a7b;
  --teal: #3aab9b;
  --max: 1000px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: "Noticia Text", Georgia, serif;
  font-size: 15px;
  line-height: 1.35;
}

a { color: inherit; }

.sans { font-family: "Barlow", "Helvetica Neue", Arial, sans-serif; font-weight: 300; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 34px; }

/* ---------- Header ---------- */
.site-header { padding-top: 40px; }

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.brand { text-decoration: none; display: block; }
.brand img { display: block; width: 342px; max-width: 100%; height: auto; }
.tagline { margin: 8px 0 0; font-size: 15px; }

.header-phone {
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
}

.rule { border: 0; border-top: 4px solid var(--navy); margin: 18px 0 0; }

/* ---------- Contact ---------- */
.contact { padding: 56px 0 0; scroll-margin-top: 20px; }

.section-title {
  margin: 0 0 24px;
  padding-bottom: 8px;
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-size: 26px;
  letter-spacing: .02em;
  border-bottom: 2px solid #000;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-grid h3 {
  margin: 0 0 6px;
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

address { font-style: normal; margin: 0 0 22px; }

.people { margin: 0 0 22px; padding: 0; list-style: none; }
.people li { margin-bottom: 12px; }
.people strong { font-family: "Barlow", sans-serif; font-weight: 400; font-size: 17px; color: var(--navy); letter-spacing: .02em; }
.people a { text-decoration: none; }
.people a:hover { text-decoration: underline; }

.map {
  display: block;
  width: 100%;
  height: 250px;
  border: 0;
  background: #e5e3df;
}

/* ---------- Form ---------- */
form { margin: 0; }

.field { display: block; margin-bottom: 8px; }

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  padding: 10px 8px;
  border: 1px solid var(--navy);
  border-radius: 0;
  background: #fff;
  color: #000;
}

.field textarea { height: 130px; resize: vertical; }

.field input:focus,
.field textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; }

.submit {
  font: inherit;
  background: var(--navy);
  color: #fff;
  border: 0;
  padding: 10px 24px;
  cursor: pointer;
}

.submit:hover { background: #2f3b66; }

.hp { position: absolute; left: -9999px; }

.notice {
  display: none;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--teal);
  background: #eef8f6;
}

.notice.show { display: block; }

/* ---------- Privacy ---------- */
.privacy { margin-top: 56px; border-top: 1px solid #000; padding-top: 14px; }
.privacy summary {
  cursor: pointer;
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.policy { max-width: 760px; padding-top: 14px; }
.policy p { margin: 0 0 14px; }
.policy ul { margin: 0 0 14px; padding-left: 28px; }
.policy li { margin-bottom: 4px; }

/* ---------- Footer ---------- */
.site-footer {
  padding-top: 34px;
  padding-bottom: 40px;
  text-align: right;
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: .04em;
}

.site-footer p { margin: 0; }

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .site-header { padding-top: 20px; }
  .header-top { flex-direction: column; }
  .header-phone { order: -1; align-self: flex-end; }
  .contact { padding-top: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { text-align: center; }
}
