.container {
    padding-bottom: 126px;
}

.contact-lead,
.contact-notes {
  text-align: center;
  margin-top:40px;
  /* margin-bottom: 24px; */
  line-height: 2;
  margin-top:40px;
}

.contact-notes {
  font-size: 14px;
  color: #555;
  margin-top: 40px;
  margin-bottom: 40px;
}

.contact-consent {
  display: flex;
  justify-content: center;
  margin: 40px 0 24px;
}

.contact-consent__label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}

.contact-consent__label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.contact-consent__link {
  /* color: #555; */
  text-decoration: underline;
}

.contact-consent__link:hover {
  text-decoration: none;
}

.contact-consent__error {
  text-align: center;
}

.contact-form {
  max-width: 1000px;
  margin: 40px auto 0;
  border-top: 1px solid #e2e2e2;
}

.form-item {
    display: flex;
    border-bottom: 1px solid #e2e2e2;
    box-sizing: border-box;
}

.form-dt {
    width: 30%;
    padding:10px 10px;
    background-color: #f9f9f9;
    box-sizing: border-box;
    display: flex;
        align-content: flex-start;
        justify-content: flex-start;
        align-items: center;
}

.form-dd {
    width: 75%;
    padding: 24px;
    box-sizing: border-box;
    margin-left:0px;
}


.form-required {
  color: #A20F19;
  font-size: 12px;
  margin-left: 8px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
  min-height: 150px;
}

.form-error {
  color: #A20F19;
  font-size: 14px;
  margin-top: 8px;
}
.contact-form .btn .button {
    width: 388px;
    font-size: 16px;
    border: 0px;
}

.button--with-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 64px 18px 54px;
  width: 290px;
  height: 64px;
  min-width: auto;
  box-sizing: border-box;
  transition: opacity 0.3s ease;
  font-size: 16px;
  border: 0px;
}

.form-buttons {
  text-align: center;
  margin: 80px 0px;
  /* padding: 0px 0px; */
  font-size: 16px;
}

.u-text-center.btn {
  margin: 0 auto;
  text-align: center;
}

.u-text-center.btn {
  text-align: center;
}
.contact-consent {
  text-align: center;
  margin-bottom:20px;
}
.link {
  color: #A20F19;
  /* text-decoration: underline; */
}
a:hover, a:focus {
  /* color: #fff; */
  opacity:0.7;
}

.thanks-content {
  text-align: center;
  padding: 80px 40px 120px;
  line-height: 2;
  max-width: 820px;
  margin: 0 auto;
  box-sizing: border-box;
}

.thanks-title {
  font-size: 32px;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.thanks-message {
  font-size: 16px;
  color: #333;
  margin-bottom: 48px;
}

.thanks-tel {
  font-weight: 700;
  color: #A20F19;
}

.thanks-actions {
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 768px) {
    .container {
        padding-bottom: 60px;
    }
    .form-item {
        display: block;
    }
    .form-dt, .form-dd {
        width: 100%;
        padding: 16px;
        margin-left: 0px;
    }
    .form-dt {
        padding-bottom: 8px;
    }

    .contact-form .btn .button {
        width: 90%;
    }
    .contact-consent {
        /* justify-content: flex-start; */
        margin: 20px 0px 20px;
    }

    .contact-consent__label {
        align-items: center;
        font-size: 13px;
    }

    .thanks-content {
        padding: 60px 24px 80px;
        text-align: center;
    }

    .thanks-title {
        font-size: 24px;
    }

    .thanks-message {
        font-size: 15px;
        text-align: center;
    }

}

.form-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.button--cancel {
    background-color: #888;
    padding: 18px 54px 18px 64px;
}

.button--cancel .button__arrow-wrapper {
    right: auto;
    left: 24px;
}

.button--cancel .button__arrow-wrapper img {
    transform: rotate(180deg);
}

@media screen and (max-width: 768px) {
    .form-buttons {
        flex-direction: column-reverse;
        align-items:center;
    }
}

