:root {
  --black: #000;
  --grey20: #333;
  --grey40: #666;
  --grey60: #999;
  --D1A9F0: #D1A9F0;
  --C283F3: #C283F3;
  --9D5CD0: #9D5CD0;
  --7943A4: #7943A4;
  --30BF39: #30BF39;
  --26A5E4: #26A5E4;
  --D11616: #D11616;
  --CACACA: #CACACA;
  --ECECEC: #ECECEC;
  --FFF: #FFF;

  --header-link-focus-bg: var(--7943A4);
  --header-link-hover: var(--C283F3);
  --header-link-active:  var(--7943A4);

  --search-btn-active: var(--9D5CD0);

  --btn-bg: var(--9D5CD0);
  --btn-outline: var(--C283F3);
  --btn-inside: var(--D1A9F0);
  --btn-bg-active: var(--7943A4);

  --link: var(--9D5CD0);
  --link-focus-bg: var(--9D5CD0);
  --link-hover: var(--7943A4);
  --link-active: var(--grey20);

  --section-date: var(--grey60);

  --card-venue: var(--grey60);

  --border-color: var(--CACACA);
  --border-color-field: var(--grey60);
  --border-color-btn: var(--9D5CD0);
  --color-btn: var(--9D5CD0);
  --form-field-focus-bg: var(--ECECEC);
  --form-field-error: var(--D11616);

  --footer-icon-active: var(--9D5CD0);

  --error-color: var(--D11616);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "OpenSans", sans-serif;
  font-size: 16px;
  line-height: 32px;
}

/* Helpers */
.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.align-center {
  align-items: center;
}

.list-reset {
  margin: 0;
  padding: 0;
  list-style:none;
}

.reset-line-height{
  line-height: 0;
}

.btn-reset {
  padding: 0;
  border: none;
  font: inherit;
  color: inherit;
  background-color: transparent;
  cursor: pointer;
}

.visually-hidden {
  position: fixed;
  transform: scale(0);
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 15px;
}

/* header */
.header{
  background-color: var(--black);
}

.header__container {
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 30px;
}

.header__logo-link {
  width: 173px;
  min-width: 173px;
  height: 40px;
}

.header__logo-img {
  width: 100%;
}

.header__logo-link:focus, .menu__link:focus, .footer__logo {
  outline: none;
}
.header__logo-link:focus-visible, .footer__logo:focus-visible {
  outline: 2px solid var(--FFF);
  outline-offset: 5px;
}

.header__menu {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-right: 117px;
}
.menu__list {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.menu__item:not(:last-child) {
  margin-right: 84px;
}

.menu__link {
  font-size: 18px;
  font-weight: 600;
  color: #FFF;
  text-decoration: none;
  padding: 2px 6px;
  background-color: transparent;
  transition: color 0.3s ease-in-out;
}

.menu__link:focus-visible {
  background-color: var(--header-link-focus-bg);
}

.menu__link:hover {
  color: var(--header-link-hover);
}

.menu__link:active {
  color: var(--header-link-active);
}

.header__btn-search svg, .header__submit svg{
  width: 28px;
  height: 28px;
}

.header__btn-search svg rect, .header__btn-search svg path {
  fill: var(--FFF);
  transition: fill 0.3s ease-in-out;
}

.header__btn-search:focus-visible {
  background-color: var(--header-link-focus-bg);
  outline: 2px solid var(--header-link-focus-bg);
}

.header__btn-search:hover svg rect, .header__btn-search:hover svg path {
  fill: var(--header-link-hover);
}

.header__btn-search:active svg rect, .header__btn-search:active svg path {
  fill: var(--search-btn-active);
}

.header__search {
  position: absolute;
  right: 10px;
  z-index: 3;
  min-width: 310px;
  transform: scale(0);
  transition: transform 0.3s ease-in-out;
}

.header__search--active {
  transform: scale(1);
}

.form {
  display: flex;
  flex-wrap: wrap;
}

.form__label {
  display: flex;
  flex-direction: column;
}

.form__field {
  order: 2;
  min-width: 220px;
  padding: 9px 24px;
  border-radius: 100px;
  line-height: 32px;
  color: var(--grey20);
  outline: none;
  border: 1px solid var(--border-color-field);
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

.form__field:focus, .form__field:hover  {
  background-color: var(--form-field-focus-bg);
}

.form__field--error {
  border-color: var(--form-field-error);
}

.header__search .form__field {
  width: 100%;
  padding-right: 50px;
}

.form__field::placeholder {
  color: var(--grey60);
}

.header__btn-search {
  padding-top: 5px;
  line-height: 1  ;
}

.header__submit {
  position: absolute;
  top:50%;
  right: 10px;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
}

.header__submit svg rect, .header__submit svg path {
  fill: var(--grey20);
  transition: fill 0.3s ease-in-out;
}

.header__submit:focus-visible {
  background-color: var(--header-link-focus-bg);
  outline: 2px solid var(--header-link-focus-bg);
}

.header__submit:hover svg rect, .header__submit:hover svg path {
  fill: var(--header-link-hover);
}

.header__submit:active svg rect, .header__submit:active svg path {
  fill: var(--search-btn-active);
}

/* hero */
.hero {
  padding-top: 146px;
  padding-bottom: 146px;
  background: url("../img/hero_bg.jpg");
  background-position: bottom;
  background-size:cover;
}

.hero__wrap {
  max-width: 550px;
}

.hero__title {
  margin: 0;
  margin-bottom: 20px;
  font-size: 72px;
  line-height: 68px;
  color: var(--FFF);
}

.hero__text {
  padding: 0;
  margin: 0;
  margin-bottom: 92px;
  font-size: 18px;
  font-weight: 700;
  line-height: 30px;
  color: var(--FFF);
}

.hero__link {
  display: inline-block;
  padding: 19px 35px;
  background-color: var(--btn-bg);
  border-radius: 100px;
  text-align:center;
  font-size: 18px;
  font-weight: 700;
  color: var(--FFF);
  text-decoration: none;
  transition: background 0.3s ease-in-out, outline 0.3s ease;
}

.hero__link:focus-visible {
  outline: 2px solid var(--btn-outline);
  outline-offset: 5px;
}

.hero__link:hover {
  outline: 2px solid var(--btn-inside);
  outline-offset: -2px;
}

.hero__link:active {
  background-color: var(--btn-bg-active);
  outline: 2px solid var(--btn-inside);
  outline-offset: -2px;
}

.section-offset {
  padding: 80px 0;
}

.section-title {
  margin: 0;
  margin-bottom: 17px;
  font-size: 48px;
  font-weight: 400;
  line-height: 64px;
}

.section-text {
  display: inline-block;
  padding: 0;
  margin: 0;
  max-width: 1075px;
}

.section-subtitle {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}

.section-date {
  margin-bottom: 7px;
  font-size: 12px;
  color: var(--section-date);
}

/* about */
.about {
  padding-bottom: 70px;
}

/* gallery */
.gallery {
  background: url("../img/gallery_bg.jpg");
  background-position: bottom;
  background-size: cover;
}

.gallery__title {
  margin-bottom: 21px;
  color: var(--FFF);
}

.gallery__container {
  display: flex;
}

.gallery__list {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  column-gap: 50px;
  justify-items: end;
}

.gallery__filter {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  max-width: 400px;
  margin-right: 50px;
  padding-bottom: 8px;
}

.gallery__item {
  display: grid;
  width: 100%;
  color: #FFF;
}

.gallery__img {
  width: 100%;
  max-width: 350px;
}

.checkbox__input {
  transform: scale(0);
}

.checkbox__item {
  line-height: 1;
  cursor: pointer;
}

.checkbox__text:before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border: 1px solid var(--FFF);
  transition: border 0.3s;
}

.checkbox__text {
  display: flex;
  align-items: center;
  position: relative;
  color: var(--FFF);
  transition: color 0.3s;
}

.checkbox__text:after{
  content: "";
  position: absolute;
  top: 50%;
  left: 7px;
  width: 4px;
  height: 4px;
  background-color: var(--btn-outline);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.checkbox__input:checked + .checkbox__text:after {
  opacity: 1;
}

.checkbox__item:hover .checkbox__text:before,
.checkbox__input:checked + .checkbox__text:before,
.checkbox__input:focus-visible + .checkbox__text:before{
  border-color: var(--btn-outline);
}

.checkbox__input:checked ~ .checkbox__text,
.checkbox__input:focus-visible ~ .checkbox__text {
  color: var(--btn-outline);
}

/* Catalog */
.catalog {
  padding-top: 81px;
}

.catalog__text {
  margin-bottom: 39px;
}

.painter {
  display: flex;
}

.painter__img {
  display: block;
  width: 100%;
  max-width: 750px;
  margin-right: 25px;
}

.painter__desc {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 800px;
  padding-left: 30px;
}

.catalog__item:not(:last-child) {
  margin-bottom: 50px;
}

.painter__text {
  max-width: 1170px;
}

/* action */
.action {
  padding-top: 90px;
}

.action__title {
  line-height: 45px;
  margin-bottom: 26px;
}

.action__card {
  width: 100%;
}

.action__cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  row-gap: 30px;
  column-gap: 50px;
}

.action__card {
  max-width: 500px;
}

.card {
  display: flex;
  flex-direction: column;
}

.card__img {
  width: 100%;
}

.card__desc {
  display: flex;
  flex-direction: column;
  padding: 14px 50px 42px;
  min-height: 343px;
  border: 1px solid var(--border-color);
  border-top: none;
}

.card__venue {
  display: flex;
  padding: 0;
  margin: 0;
  font-size: 12px;
  line-height: 1;
  color: var(--card-venue);
}

.card__date {
  display: flex;
  padding: 0;
  margin: 0;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 24px;
  color: var(--section-date);
}

.card__title {
  margin-bottom: 8px;
}

.card__text {
  margin-bottom: 10px;
}

.card__link {
  position: relative;
  display: inline-block;
  width: max-content;
  margin-top: auto;
  text-decoration: none;
  line-height: 27px;
  color: var(--link);
  border-bottom: 1px solid currentColor;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

.card__link:before{
  content: "";
  position: absolute;
  top: -2px;
  bottom: -5px;
  left: -5px;
  right: -5px;
  background-color: transparent;
  z-index:-2;
  transition: background 0.3s ease-in-out;
}

.card__link:focus-visible {
  outline: none;
  color: var(--FFF);
  border-color: currentColor;
}

.card__link:focus-visible:before{
  background-color: var(--link-focus-bg);
}

.card__link:hover {
  color: var(--link-hover);
}

.card__link:active {
  color: var(--link-active);
}

/* projects */
.projects {
  padding-top: 79px;
}

.projects__text {
  margin-bottom: 29px;
}

.projects__subtitle {
  margin-bottom: 15px;
}

.projects__partners {
  display: flex;
  flex-wrap: wrap;
}

.partner__item:not(:last-child) {
  margin-right: 35px;
}

.partner__link {
  display: inline-block;
  padding: 26px 26px 17px;
  border: 1px solid var(--border-color);
}

.partner__link:focus-visible {
  outline: 2px solid var(--btn-outline);
  outline-offset: 2px;
}

/*  contacts */
.contacts {
  padding: 37px 0;
  border: 1px solid var(--border-color);
}

.contacts__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  line-height: 1;
}

.contacts__form .form__label {
  margin-right: 20px;
}

.contacts__address {
  line-height: 32px;
}
.contacts__form .form__label {
  position: relative;
}

.form__label .just-validate-error-field {
  border-color: var(--error-color);
}

.form__label .just-validate-error-label {
  position: absolute;
  top: -14px;
  left: 0;
  font-size: 12px;
  padding-left: 24px;
  margin-bottom: 2px;
}

.form__btn {
  padding: 7px 34px;
  font-size: 18px;
  font-weight: 700;
  border: 2px solid var(--border-color-btn);
  border-radius: 100px;
  line-height: 32px;
  color: var(--9D5CD0);
  background-color: transparent;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

.form__btn:focus-visible {
  outline: 2px solid var(--btn-outline);
  outline-offset: 2px;
}

.form__btn:hover {
  background-color: var(--btn-bg);
  color: var(--FFF);
}

.form__btn:active {
  outline: 3px solid var(--btn-inside);
  outline-offset: -2px;
}

.contacts__subtitle {
  margin-bottom: 11px;
  line-height: 1;
}

.contacts__social-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 1;
}

.contacts__social-link svg path{
  opacity: 1;
  transition: opacity 0.3s;
}

.contacts__social-link:not(:last-child) {
  margin-right: 17px;
}

.contacts__social-link:focus-visible {
  outline: none;
}

.whatsapp:focus-visible svg path:nth-child(1),
.tg:focus-visible svg path:nth-child(1),
.whatsapp:hover svg path:nth-child(1),
.tg:hover svg path:nth-child(1){
  opacity: 0.5;
}

.whatsapp:active svg,
.tg:active svg {
  border-radius: 100%;
  outline: 2px solid var(--btn-outline);
  outline-offset: -2px;
}

/* footer */
.footer {
  padding-top: 49px;
  padding-bottom: 40px;
  background-color: var(--black);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__logo:focus-visible {
  outline: 2px solid var(--FFF);
}

.social {
  display: flex;
}

.social__item {
  line-height: 1;
}

.social__item:not(:last-child) {
  margin-right: 20px;
}

.social__link {
  display: inline-block;
  width: 45px;
  height: 45px;
}

.social__link svg path {
  transition: fill 0.3s ease-in-out;
}

.social__link:focus-visible {
  outline:none;
}

.social__link:focus-visible svg path, .social__link:hover svg path {
  fill: var(--FFF);
}

.social__link:active svg path {
  fill: var(--footer-icon-active);
}

@media (max-width: 1300px){
  .header__logo-link {
    width: 188px;
    min-width: auto;
    height: auto;
    margin-right: auto;
    margin-bottom: 8px;
  }

  .header__container {
    align-items: flex-start;
    flex-wrap: wrap;
    padding-top: 32px;
    padding-bottom: 21px;
  }

  .header__btn-search {
    padding-top: 7px;
  }

  .header__menu {
    width: 100%;
    order: 1;
    margin-right: 0;
  }

  .menu__list{
    width: 100%;
  }

  .menu__item:not(:last-child) {
    margin-right: 0;
  }

  .painter__desc {
    padding-left: 15px;
  }

  .contacts__address, .contacts__form {
    margin-bottom: 10px;
  }
}

@media (max-width: 1024px) {
  .container {
    max-width: 924px;
  }

  .menu__link {
    padding: 2px 0;
  }

  .hero {
    padding-top: 102px;
    padding-bottom: 101px;
    background: url("../img/hero_bg-1024.jpg");
    background-size: cover;
  }

  .hero__wrap {
    max-width: 700px;
  }

  .hero__text {
    margin-bottom: 131px;
  }

  .gallery {
    padding-bottom: 80px;
  }

  .gallery__container {
    flex-wrap: wrap;
  }

  .gallery__title {
    margin-bottom: 10px;
  }

  .gallery__filter {
    max-width: initial;
    margin-right: 0;
    margin-bottom: 29px;
  }

  .painter {
    flex-direction: column;
  }

  .painter:not(:last-child) {
    margin-bottom: 41px;
  }

  .painter__desc {
    max-width: 100%;
    padding: 30px 0 10px;
  }

  .painter__text {
    max-width: 100%;
  }


  .painter__img {
    max-width: 100%;
    margin-right: 0;
  }

  .action {
    padding-top: 80px;
  }

  .action__cards {
    column-gap: 27px;
  }

  .card__desc {
    min-height: 415px;
    padding: 16px 34px 52px;
  }

  .card__desc .card__venue, .card__desc .card__date {
    justify-content: flex-end;
  }

  .card__img {
    min-height: 200px;
  }

  .card__date {
    margin: 0;
    line-height: 22px;
  }

  .card__title {
    margin-bottom: 5px;
  }

  .projects__text {
    margin-bottom: 20px;
  }

  .partner__item:not(:last-child) {
    margin-right:28px;
  }

  .contacts {
    padding: 42px 0;
  }

  .contacts__address .section-text {
    font-size: 14px;
    line-height: 2.8;
  }

  .contacts__address {
    margin-bottom: 18px;
  }

  .contacts__form .form__btn {
    padding: 7px 41px;
  }

  .contacts__form {
    justify-content: space-between;
    margin-bottom: 32px;
  }

  .footer {
    padding: 41px 0;
  }

  .footer .social__link {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 991px){

  .action__card {
    max-width: initial;
  }

  .action__card:not(:last-child) {
    margin-right: 0;
  }

  .card__desc {
    min-height: 328px;
  }

  .contacts__form .form__label {
    width: 48%;
    margin-bottom: 10px;
    margin-right: 0;
  }

  .contacts__form .form__label:not(:nth-child(2)) {
    margin-right: 16px;
  }

  .contacts__form .form__btn {
    padding: 11px 30px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 668px;
  }
  .section-text {
    line-height: 2;
  }

  .hero {
    padding-top: 86px;
    padding-bottom: 86px;
    background: url("../img/hero_bg-768.jpg");
  }

  .header__logo-link {
    width: 190px;
    margin-bottom: 8px;
  }

  .hero__wrap {
    max-width: 550px;
  }

  .hero__text {
    margin-bottom: 129px;
    line-height: 1.7;
  }

  .hero__link {
    padding: 20px 35px;
  }

  .about {
    padding-top: 78px;
    padding-bottom: 71px;
  }

  .gallery {
    padding-top: 80px;
    padding-bottom: 80px;
    background: url("../img/gallery_bg-768.jpg");
    background-size: cover;
  }

  .gallery__title {
    margin-bottom: 10px;
  }

  .gallery__list {
    column-gap: 34px;
  }

  .catalog {
    padding-top: 80px;
  }

  .catalog__text {
    margin-bottom: 40px;
  }

  .painter__img img {
    max-height: 420px;
  }

  .painter__desc {
    padding-top: 29px;
  }

  .painter__date {
    margin-bottom: 0;
  }

  .catalog__item:not(:last-child) {
    margin-bottom: 39px;
  }

  .action {
    padding-top: 80px;
  }

  .action__cards {
    grid-template-columns: 1fr;
  }

  .card__img {
    min-height: auto;
    max-height: 200px;
  }

  .card__desc {
    min-height: 263px;
    padding: 15px 33px 49px;
  }
  .card__title {
    margin-bottom: 15px;
  }

  .projects {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .projects__subtitle {
    margin-bottom: 29px;
  }

  .projects__text {
    margin-bottom: 26px;
  }

  .partner__item:not(:last-child){
    margin-right: 33px;
  }

  .partner__item:nth-child(2n){
    margin-right: 0;
  }

  .partner__link {
    padding: 26px 20px 17px;
  }

  .contacts__address{
    margin-bottom: 18px;
  }

  .contacts__form {
    margin-bottom: 33px;
  }

  .contacts__form .form__btn {
    padding: 8px 28px;
  }

  .contacts {
    padding: 40px 0;
  }

  .footer {
    padding-top: 41px;
    padding-bottom: 43px;

  }
}

@media (max-width: 767px){
  .section-offset {
    padding: 50px 0;
  }

  .section-title {
    margin-bottom: 11px;
    font-size: 28px;
    line-height: 1.4;
    letter-spacing: normal;
  }

  .section-text {
    font-size: 16px;
    line-height: 32px;
    letter-spacing: normal;
  }

  .header__container {
    position: relative;
    padding-top: 16px;
    padding-bottom: 26px;
  }

  .header__logo-link {
    width: 30vw;
    margin-bottom: 4px;
    max-width: 188px;
  }

  .header__menu {
    position: absolute;
    left: 15px;
    bottom: 12px;
    right: 0;
  }

  .header__search {
    top: 7px;
    right: 5px;
  }

  .header__btn-search {
    padding-top: 0;
    line-height: 1;
  }

  .header__btn-search svg, .header__submit svg{
    width: 18px;
    height: 18px;
  }

  .header__search .form__field {
    padding: 3px 14px;
    padding-right: 40px;
  }

  .menu {
    max-width: 95%;
    line-height: 1;
  }

  .menu__list {
    position: relative;
    overflow-x:visible;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .menu__list::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  .menu__item:not(:last-child) {
    margin-right: 23px;
  }

  .menu__link {
    font-size: small;
  }

  .hero {
    padding-top: 49px;
    padding-bottom: 49px;
    background: url("../img/hero_bg-320.jpg");
    background-size: cover;
    background-position: bottom;
  }

  .hero__wrap {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 0 auto;
  }

  .hero__title {
    margin-bottom: 11px;
    font-size: 10vw;
    text-align: center;
    line-height: 0.9;
  }

  .hero__text {
    padding: 0 20px;
    margin-bottom: 40px;
    font-size: 3.77vw;
    font-weight: 400;
    text-align: center;
    line-height: 1.3;
  }

  .hero__link {
    padding: 4px 19px;
    font-size: 12px;
  }

  /* about */
  .about {
    padding-bottom: 40px;
  }

  .about__text {
    font-size: 14px;
    line-height: 28px;
  }
  .gallery__list {
    grid-template-columns: 100%;
  }

  .gallery__img {
    max-width: 100%;
  }

  .gallery__list {
    row-gap: 30px;
  }

  .catalog {
    padding-top: 49px;
  }

  .catalog__text {
    margin-bottom: 30px;
  }

  .painter__desc {
    padding-top: 20px;
  }

  .painter__title {
    letter-spacing: 0.05px;
  }

  .painter__date {
    margin-bottom: 5px;
  }

  .catalog__item:not(:last-child) {
    margin-bottom: 19px;
  }

  .action {
    padding-top: 39px;
  }

  .card__img {
    max-height: 200px;
  }

  .card__desc {
    min-height: 414px;
    padding: 18px 17px 50px 22px;
  }

  .card__date {
    margin-bottom: 7px;
  }

  .card__title {
    margin-bottom: 3px;
    letter-spacing: normal;
  }

  .projects {
    padding-top: 30px;
    padding-bottom: 0;
  }

  .projects__text {
    letter-spacing: 0.03px;
    margin-bottom: 20px;
  }

  .projects__subtitle {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 32px;
    letter-spacing: normal;
  }

  .projects__partners {
    justify-content: space-between;
  }

  .partner__link {
    padding: 31px 64px 19px;
  }

  .partner__item:not(:last-child) {
    margin-right: 0;
    margin-bottom: 12px;
  }

  .partner__img {
    max-width: 160px;
  }

  .contacts {
    border: none;
    padding-top: 50px;
    padding-bottom: 48px;
  }

  .contacts__address {
    margin-bottom: 14px;
  }

  .contacts__address .section-subtitle {
    font-size: 18px;
    line-height: 21px;
    letter-spacing: normal;
  }

  .contacts__address .section-text {
    line-height: 2.2;
  }

  .contacts__form {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    margin-bottom: 25px;
  }

  .contacts__form .form__label, .contacts__form .form__label:not(:nth-child(2)) {
    margin-right: 0;
  }

  .contacts__form .form__label {
    width: 100%;
    margin-bottom: 19px;

  }

  .contacts__form .form__field {
    min-width: fit-content;
    padding: 3px 23px;
  }

  .contacts__form .form__btn {
    position: relative;
    visibility: hidden;
    padding: 0 10px;
  }

  .contacts__form .form__btn:after {
    content: "Заказать";
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 32px;
    font-size: 12px;
    font-weight: 700;
    border: 2px solid var(--border-color-btn);
    border-radius: 100px;
    line-height: 16px;
    color: var(--9D5CD0);
    background-color: transparent;
  }

  .contacts__subtitle {
    margin-bottom: 7px;
    font-size: 18px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: normal;
  }

  .contacts__social-link {
    width: 50px;
    height: 50px;
  }

  .footer {
    padding: 21px 0;
  }

  .footer__inner {
    display: flex;
    flex-direction: column;
  }

  .footer__social {
    display: flex;
    margin-bottom: 16px;
    order: -1;
  }

  .footer__logo {
    text-align: center;
  }

  .footer__img {
    width: 58%;
    max-width: 300px;
  }

  .footer .social__link {
    width: 50px;
    height: 50px;
  }
}







