.sc-contact-layout,
.sc-contact-layout * {
  box-sizing: border-box;
}

.sc-contact-layout {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 18px;
  overflow: hidden;
  isolation: isolate;
}

.sc-contact-layout__background {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.sc-contact-layout__background img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.sc-contact-layout__shade {
  position: absolute;
  inset: 0;
  background: rgba(19, 15, 12, 0.08);
}

.sc-contact-layout__card {
  width: min(540px, calc(100% - 24px));
  padding: 33px 40px 36px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 20px 60px rgba(0,0,0,.13);
}

.sc-contact-layout__eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #212020;
  text-transform: uppercase;
}

.sc-contact-layout__eyebrow span {
  width: 24px;
  height: 1px;
  background: #706a65;
}

.sc-contact-layout__eyebrow small {
  font-size: 13px;
  font-weight: 500;
}

.sc-contact-layout h2 {
  margin: 0;
  color: #1f1f1f;
  font-size: clamp(29px, 3vw, 39px);
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.sc-contact-layout__intro {
  max-width: 330px;
  margin: 11px auto 25px;
  color: #212020;
  font-size: 15px;
  line-height: 1.55;
  text-align: center;
}

.sc-contact-layout__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 30px;
}

.sc-contact-layout__field label,
.sc-contact-layout__message label {
  display: block;
  margin-bottom: 3px;
  color: #5f5a55;
  font-size: 15px;
  font-weight: 400;
}

.sc-contact-layout__field input,
.sc-contact-layout__field select,
.sc-contact-layout__message textarea {
  width: 100%;
  min-height: 30px;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid #d9d4cf;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: #222;
  font-size: 12px;
  box-shadow: none;
}

.sc-contact-layout__message {
  margin-top: 18px;
}

.sc-contact-layout__message textarea {
  min-height: 46px;
  resize: vertical;
}

.sc-contact-layout__captcha {
  margin-top: 18px;
  transform-origin: left top;
}

.sc-contact-layout__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  margin-top: 16px;
  padding: 0 15px;
  border: 1px solid #202020;
  border-radius: 999px;
  background: #202020;
  color: #fff;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;

}

.sc-contact-layout__button:hover {
  background: #fff;
  color: #202020;
}

.sc-contact-layout__honeypot {
  position: absolute;
  left: -9999px;
}

.sc-contact-layout__decor {
  position: absolute;
  bottom: 36px;
  width: 42px;
  height: 42px;
  background: #fff8e9;
  z-index: -1;
}

.sc-contact-layout__decor--left {
  left: 8%;
  box-shadow: 22px 22px 0 rgba(255,255,255,.72);
}

.sc-contact-layout__decor--right {
  right: 8%;
  box-shadow: -22px 22px 0 rgba(255,255,255,.72);
}

@media (max-width: 767px) {
  .sc-contact-layout {
    min-height: auto;
    padding: 32px 12px;
  }

  .sc-contact-layout__card {
    width: 100%;
    padding: 28px 20px 31px;
  }

  .sc-contact-layout__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sc-contact-layout__decor {
    display: none;
  }

  .sc-contact-layout__captcha {
    transform: scale(.86);
    width: 116%;
    margin-bottom: -10px;
  }
}
