.page-contacts {
  background: var(--nd-surface);
  color: #000;
  -webkit-font-smoothing: antialiased;
}

.nd-contacts {
  padding: 0 var(--nd-gutter) env(safe-area-inset-bottom);
  overflow-x: clip;
}

.nd-contacts p {
  margin: 0;
}

.nd-contacts__crumbs {
  padding-top: 12px;
}

.nd-contacts__crumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--nd-fs-12);
  line-height: 1.4;
}

.nd-contacts__crumbs-list a {
  color: inherit;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nd-contacts__crumbs-list a:hover,
.nd-contacts__crumbs-list a:focus-visible {
  text-decoration: underline;
}

.nd-contacts__crumbs-list [aria-current="page"] {
  color: var(--nd-muted);
}

.nd-contacts__layout {
  margin-top: clamp(40px, 5.6vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: clamp(24px, 4.2vw, 60px);
  row-gap: 40px;
  align-items: start;
}

.nd-contacts__aside {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 2.8vw, 40px);
}

.nd-contacts__title {
  margin: 0;
  font-family: var(--nd-serif);
  font-weight: 300;
  text-transform: uppercase;
  font-size: clamp(44px, 5.56vw, 80px);
  line-height: 0.95;
  letter-spacing: var(--nd-ls-04);
  color: #000;
}

.nd-contacts__nap {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.nd-contacts__link,
.nd-contacts__address,
.nd-contacts__more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.45;
  letter-spacing: var(--nd-ls-02);
  color: #000;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nd-contacts__address {
  color: #000;
  text-decoration: none;
  max-width: 22rem;
}

.nd-contacts__more {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.nd-contacts__more a {
  color: #000;
}

.nd-contacts__main {
  padding-bottom: clamp(80px, 8.3vw, 120px);
}

.nd-contacts__form {
  max-width: 36rem;
}

.nd-contacts__form h2 {
  margin: 0 0 clamp(20px, 2.2vw, 30px);
  font-family: var(--nd-serif);
  font-weight: 300;
  text-transform: uppercase;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.05;
  letter-spacing: var(--nd-ls-03);
  color: #000;
}

.nd-contacts .field {
  gap: 6px;
  margin-bottom: 12px;
}

.nd-contacts .field__label {
  color: #000;
  font-size: 16px;
  letter-spacing: var(--nd-ls-02);
}

.nd-contacts .field__input,
.nd-contacts select.field__input {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #000;
  border-radius: 0;
  background: transparent;
  color: #000;
  font-size: 16px;
  transition: none;
  animation: none;
}

.nd-contacts .field__input:focus,
.nd-contacts .field__input:focus-visible {
  outline: none;
  box-shadow: none;
  border-color: #000;
}

.nd-contacts .field__input--area {
  height: auto;
  min-height: 7.5rem;
  padding: 12px 14px;
  resize: vertical;
}

.nd-contacts .check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 8px 0 12px;
  color: #000;
  font-size: 16px;
  line-height: 1.45;
  cursor: pointer;
  touch-action: manipulation;
}

.nd-contacts .check input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nd-contacts .check > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nd-contacts .check > span::before {
  content: "";
  flex: none;
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #000;
  background: var(--nd-surface);
  box-shadow: inset 0 0 0 2px var(--nd-surface);
}

.nd-contacts .check input:checked + span::before {
  background: #000;
}

.nd-contacts .check input:focus-visible + span::before {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.nd-contacts .check.is-invalid > span::before {
  border-color: var(--nd-danger);
}

.nd-contacts .check a {
  color: inherit;
  text-underline-offset: 3px;
}

.nd-contacts .btn {
  min-height: 44px;
  margin-top: 8px;
  padding: 0 28px;
  background: #000;
  color: var(--nd-cream);
  transition: none;
  animation: none;
}

.nd-contacts .htmx-swapping,
.nd-contacts .htmx-settling {
  opacity: 1;
  transition: none;
  animation: none;
}

@media (min-width: 900px) {
  .nd-contacts__layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .nd-contacts__aside {
    position: sticky;
    top: 112px;
  }
}
