body.contact-page,
.contact-shell {
  background: #f0f1f3;
}

.contact-shell {
  min-height: 100vh;
  min-height: 100dvh;
}

.contact-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(240, 241, 243, 0.98);
  box-shadow: none;
}

.contact-header .sub-header__back {
  position: relative;
  width: 28px;
  height: 28px;
  margin-left: 4px;
  color: transparent;
  font-size: 0;
}

.contact-header .sub-header__back::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-left: 2px solid #2b2b2b;
  border-bottom: 2px solid #2b2b2b;
  transform: rotate(45deg);
}

.contact-main {
  padding: 8px 15px 24px;
}

.contact-card {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.contact-card + .contact-card {
  margin-top: 12px;
}

.contact-card__map {
  width: 100%;
  aspect-ratio: 345 / 121;
  object-fit: cover;
}

.contact-card__body {
  padding: 18px 16px 16px;
}

.contact-card__body h1 {
  color: #2b2b2b;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 600;
}

.contact-card__address {
  margin-top: 12px;
  color: #81878f;
  font-size: 14px;
  line-height: 1.6;
}

.contact-card__meta {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.contact-card__meta div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
}

.contact-card__meta dt {
  color: #6d7279;
  font-size: 14px;
  line-height: 1.4;
}

.contact-card__meta dd {
  color: #2f2f30;
  font-size: 14px;
  line-height: 1.4;
}

.contact-form-card {
  padding: 0 16px 18px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  min-height: 56px;
  column-gap: 12px;
}

.contact-form-row--textarea {
  align-items: start;
  min-height: 84px;
  padding-top: 8px;
}

.contact-form-row > span {
  color: #2f2f30;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 500;
}

.contact-form-row input,
.contact-form-row textarea {
  width: 100%;
  border: 0;
  background: transparent;
  color: #2f2f30;
  font-size: 16px;
  line-height: 1.25;
  resize: none;
}

.contact-form-row input::placeholder,
.contact-form-row textarea::placeholder {
  color: #b8bec6;
}

.contact-form-check {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  color: #5d6168;
  font-size: 14px;
  line-height: 1.3;
}

.contact-form-check input {
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1.5px solid #d1d4d8;
  border-radius: 4px;
  accent-color: #006843;
}

.contact-form-submit {
  width: 100%;
  min-height: var(--h5-primary-button-height);
  margin-top: 18px;
  border: 0;
  border-radius: var(--h5-primary-button-radius);
  background: #0a7448;
  color: #fff;
  font-size: var(--h5-primary-button-size);
  line-height: 1.2;
  font-weight: var(--h5-primary-button-weight);
}

@media (max-width: 359px) {
  .contact-main {
    padding-inline: 12px;
  }

  .contact-card__body,
  .contact-form-card {
    padding-inline: 15px;
  }

  .contact-form-row {
    grid-template-columns: 80px minmax(0, 1fr);
    min-height: 52px;
  }

  .contact-form-row--textarea {
    min-height: 76px;
    padding-top: 0;
  }

  .contact-form-row > span,
  .contact-form-row input,
  .contact-form-row textarea {
    font-size: 15px;
  }

  .contact-form-check {
    gap: 10px;
    font-size: 14px;
  }

  .contact-form-check input {
    width: 18px;
    height: 18px;
  }
}
