.card-photo {
  position: relative;
  aspect-ratio: var(--cp-aspect, 0.7555555556);
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.card-photo__preview {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  background-color: #F9F8F7;
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
}
.card-photo:hover .card-photo__preview {
  transform: scale(1.1);
}
.card-photo_orientation_vertical {
  --cp-aspect: 0.7555555556;
}
.card-photo_orientation_horizontal {
  --cp-aspect: 1.3821138211;
}
.form-consult {
  margin-bottom: 50px;
}
@media (max-width: 767.98px) {
  .form-consult {
    margin-bottom: 50px;
  }
}
.form-consult__inner {
  display: grid;
  grid-template-areas: "m f";
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  justify-content: center;
  background-color: #F9F8F7;
}
@media (max-width: 767.98px) {
  .form-consult__inner {
    grid-template-areas: "m" "f";
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
.form-consult__title {
  font-family: "TenorSans";
  font-style: normal;
  font-weight: 400;
  font-size: 34px;
  line-height: 100%;
}
@media (max-width: 1439.98px) {
  .form-consult__title {
    font-family: "TenorSans";
    font-style: normal;
    font-weight: 400;
    font-size: 27.2px;
    line-height: 100%;
  }
}
@media (max-width: 767.98px) {
  .form-consult__title {
    font-family: "TenorSans";
    font-style: normal;
    font-weight: 400;
    font-size: 23.8px;
    line-height: 100%;
  }
}
.form-consult__cover {
  grid-area: m;
  position: relative;
}
.form-consult__cover .media__source {
  position: absolute;
  inset: 0;
}
@media (max-width: 767.98px) {
  .form-consult__cover .media__source {
    position: static;
  }
}
.form-consult__form {
  grid-area: f;
  width: 100%;
  max-width: 520px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 50px;
  padding-bottom: 50px;
}
@media (max-width: 767.98px) {
  .form-consult__form {
    padding-top: 50px;
  }
}
@media (max-width: 767.98px) {
  .form-consult__form {
    padding-bottom: 50px;
  }
}
@media (max-width: 767.98px) {
  .form-consult__form {
    max-width: unset;
  }
}
.form-consult__form .form-group {
  flex-direction: column;
  align-items: stretch;
}
.page-tags {
  padding-bottom: 50px;
}
@media (max-width: 767.98px) {
  .page-tags {
    padding-bottom: 50px;
  }
}
.page-tags__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.page-gallery {
  padding-bottom: 50px;
}
@media (max-width: 767.98px) {
  .page-gallery {
    padding-bottom: 50px;
  }
}
.page-gallery__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 10px;
}
@media (max-width: 1899.98px) {
  .page-gallery__list {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}
@media (max-width: 767.98px) {
  .page-gallery__list {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}
.page-gallery__item.qouted {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.page-gallery__item.qouted .card-photo {
  --cp-aspect: 1.3821138211;
  height: unset;
}
.page-gallery__footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 50px;
}
@media (max-width: 767.98px) {
  .page-gallery__footer {
    margin-top: 50px;
  }
}
@media (max-width: 767.98px) {
  .page-gallery__footer {
    margin-top: 30px;
  }
}
.page-gallery-quote {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 10px 30px;
  background-color: #F9F8F7;
}
@media (max-width: 767.98px) {
  .page-gallery-quote {
    padding: 10px 15px;
  }
}
.page-gallery-quote__text {
  font-family: "TildaSans";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
}
@media (max-width: 1439.98px) {
  .page-gallery-quote__text {
    font-family: "TildaSans";
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
  }
}
@media (max-width: 767.98px) {
  .page-gallery-quote__text {
    font-family: "TildaSans";
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
  }
}
.page-gallery-quote__author {
  color: rgba(41, 38, 35, 0.6);
}
