.text-block {
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 150%;
  color: #371211;
}

.text-block h2 {
  font-family: "Involve", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 120%;
  color: #371211;
}

.text-block h3 {
  font-family: "Involve", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 120%;
  color: #371211;
}

.text-block ul {
  list-style-type: disc;
  margin-left: 28px;
}

.text-block table {
  display: block;
  overflow-x: auto;
  scrollbar-width: thin;
}

.text-block a {
  color: #371211;
}

.text-block a:hover, .text-block a:active, .text-block a:focus {
  color: #a35a51;
}

.text-block img.aligncenter {
  margin-right: auto;
  margin-left: auto;
  display: block;
}

@media (min-width: 320px) {

  .content p:nth-last-child(n+2),
  .content ul:nth-last-child(n+2),
  .content ol:nth-last-child(n+2),
  .content img:nth-last-child(n+2),
  .content table:nth-last-child(n+2) {
    margin-bottom: 24px;
  }

  .content td img {
    padding-right: 10px;
  }

  .text-block {
    font-size: 14px;
  }

  .text-block>*:nth-last-child(n+2) {
    margin-bottom: 24px;
  }

  .text-block h2 {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .text-block h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .text-block ul li {
    font-size: 14px;
    margin-bottom: 8px;
  }
}

@media (min-width: 768px) {

  .content p:nth-last-child(n+2),
  .content ul:nth-last-child(n+2),
  .content ol:nth-last-child(n+2),
  .content img:nth-last-child(n+2),
  .content table:nth-last-child(n+2) {
    margin-bottom: 30px;
  }

  .content td img {
    padding-right: 20px;
  }

  .text-block {
    font-size: 18px;
  }

  .text-block>*:nth-last-child(n+2) {
    margin-bottom: 30px;
  }

  .text-block h2 {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .text-block h3 {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .text-block ul li {
    font-size: 16px;
  }
}

@media (min-width: 1280px) {
  .text-block {
    font-size: 20px;
  }

  .text-block h2 {
    font-size: 24px;
  }

  .text-block h3 {
    font-size: 20px;
  }

  .text-block ul li {
    font-size: 18px;
  }
}

.contacts__container {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
}

.contacts__img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
}

.contacts__block {
  background-color: #fef7f1;
}

.contacts__block-title {
  font-family: "Involve", sans-serif;
  font-size: 52px;
  font-weight: 400;
  line-height: 120%;
  color: #371211;
}

.contacts__block-text {
  font-family: "Manrope", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 150%;
  color: #371211;
}

.contacts .form .custom-select {
  width: 100%;
  position: relative;
  display: inline-block;
}

.contacts .form .select-selected {
  outline: none;
  border: none;
  width: 100%;
  background-color: #fef7f1;
  border-bottom: 1px solid rgba(163, 90, 81, 0.2);
  cursor: pointer;
  font-family: "Involve", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
  color: #371211;
  padding: 16.5px 0 16.5px 0;
}

.contacts .form .select-selected:after {
  content: "";
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNNSA3LjVMMTAgMTIuNUwxNSA3LjUiIHN0cm9rZT0iIzFFMUUxRSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPg==");
  width: 20px;
  height: 20px;
  position: absolute;
  left: auto;
  right: 0px;
}

.contacts .form .select-selected:focus, .contacts .form .select-selected:focus-visible, .contacts .form .select-selected:hover {
  outline: none;
  border: none;
  border-bottom: 1px solid #a35a51;
}

.contacts .form .select-items {
  position: absolute;
  background-color: #fef7f1;
  z-index: 2;
  width: 100%;
  top: 62px;
  border: 1px solid rgba(163, 90, 81, 0.2);
  max-height: 210px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #a35a51 #fef7f1;
}

.contacts .form .select-items div {
  padding: 10px;
  cursor: pointer;
  font-family: "Involve", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: #371211;
}

.contacts .form .select-items div:hover {
  color: #a35a51;
}

.contacts .form .select-hide {
  display: none;
}

.contacts .form__fields {
  display: grid;
  row-gap: 20px;
  column-gap: 20px;
}

.contacts .form .form__field_phone input[type=text] {
  padding-left: 50px;
}

.contacts .form__field._error input[type=text] {
  border-bottom-color: red;
}

.contacts .form__field._error .phone_error {
  display: block;
}

.contacts .form .service._error input[type=text] {
  border-bottom-color: red;
}

.contacts .form .service._error .service_error {
  display: block;
}

.contacts .form .specialist._error input[type=text] {
  border-bottom-color: red;
}

.contacts .form .specialist._error .specialist_error {
  display: block;
}

.contacts .form .phone_error,
.contacts .form .service_error,
.contacts .form .specialist_error {
  display: none;
  position: absolute;
  font-family: "Involve", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 120%;
  color: red;
}

.contacts .form input[type=text] {
  width: 100%;
  border: none;
  outline: none;
  border-bottom: 1px solid rgba(163, 90, 81, 0.2);
  padding: 16.5px 0;
  font-family: "Involve", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
  color: #371211;
  background-color: transparent;
}

.contacts .form input[type=text]::placeholder {
  font-family: "Involve", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
  color: #371211;
}

.contacts .form input[type=text]:focus, .contacts .form input[type=text]:hover {
  border-color: #a35a51;
}

.contacts .form input[type=submit] {
  outline: none;
  border: none;
}

.contacts .form input[type=checkbox] {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.contacts .form input[type=checkbox]+label {
  display: -webkit-flex;
  display: flex;
  gap: 12px;
}

.contacts .form input[type=checkbox]+label a {
  color: #8a433b;
}

.contacts .form input[type=checkbox]+label a:hover, .contacts .form input[type=checkbox]+label a:focus, .contacts .form input[type=checkbox]+label a:active {
  color: #a35a51;
}

.contacts .form input[type=checkbox]+label:before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url("../images/svg/checkbox_default.svg");
  background-size: cover;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  -webkit-flex-grow: 0;
  flex-grow: 0;
}

.contacts .form input[type=checkbox]+label:hover, .contacts .form input[type=checkbox]+label:focus {
  cursor: pointer;
}

.contacts .form input[type=checkbox]+label:hover:before, .contacts .form input[type=checkbox]+label:focus:before {
  background-image: url("../images/svg/checkbox_hover.svg");
}

.contacts .form input[type=checkbox]:checked+label:before {
  background-image: url("../images/svg/checkbox_active.svg");
  background-size: cover;
  border: none;
}

.contacts .form label {
  font-family: "Involve", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 120%;
  color: #371211;
}

@media (min-width: 320px) {
  .contacts__img {
    background-image: url("../images/webp/contacts_768.webp");
    background-position: -20px;
  }

  .contacts__img-container {
    height: 200px;
  }

  .contacts__block {
    padding: 30px 30px;
  }

  .contacts__block-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .contacts__block-text {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .contacts .form__fields:first-child {
    margin-bottom: 40px;
  }

  .contacts .form__fields label {
    font-size: 12px;
  }
}

@media (min-width: 768px) {
  .contacts__img {
    background-image: url("../images/webp/contacts_768.webp");
    background-position: inherit;
  }

  .contacts__img-container {
    height: 320px;
  }

  .contacts__block {
    padding: 60px 60px;
  }

  .contacts__block-title {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .contacts__block-text {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .contacts .form__fields:first-child {
    grid-template-columns: 1fr 1fr;
    row-gap: 30px;
    margin-bottom: 50px;
  }

  .contacts .form__fields label {
    font-size: 14px;
  }
}

@media (min-width: 1280px) {
  .contacts__container {
    -webkit-flex-direction: row;
    flex-direction: row;
  }

  .contacts__img {
    background-image: url("../images/webp/contacts_1440.webp");
  }

  .contacts__img-container {
    -webkit-flex: 0 0 48%;
    flex: 0 0 48%;
    height: auto;
  }

  .contacts__block {
    -webkit-flex-grow: 1;
    flex-grow: 1;
    padding: 80px 60px;
  }

  .contacts__block-title {
    font-size: 32px;
  }
}

@media (min-width: 1440px) {
  .contacts__img {
    background-image: url("../images/webp/contacts_1920.webp");
  }

  .contacts__block {
    padding: 100px 60px;
  }

  .contacts__block-title {
    font-size: 38px;
  }

  .contacts__block-text {
    font-size: 18px;
  }

  .contacts .form__fields:first-child {
    row-gap: 40px;
    margin-bottom: 60px;
  }

  .contacts .form__fields:last-child {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1800px) {
  .contacts__block {
    padding: 140px 80px;
  }

  .contacts__block-title {
    font-size: 52px;
    margin-bottom: 24px;
  }

  .contacts__block-text {
    font-size: 24px;
    margin-bottom: 60px;
  }
}

.service>img {
  width: 100%;
  object-fit: cover;
}

@media (min-width: 320px) {
  .service>img {
    height: 230px;
  }

  .service>*:nth-last-child(n+2) {
    margin-bottom: 30px;
  }
}

@media (min-width: 768px) {
  .service>img {
    height: 440px;
  }

  .service>*:nth-last-child(n+2) {
    margin-bottom: 40px;
  }
}

@media (min-width: 1280px) {
  .service>*:nth-last-child(n+2) {
    margin-bottom: 50px;
  }
}

@media (min-width: 1440px) {
  .service>img {
    height: 520px;
  }
}

/*# sourceMappingURL=single-service.css.map */