body {
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", sans-serif;
  font-weight: 400;
}

svg {
  fill: currentColor;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
}

.page {
  flex-grow: 1;
}

.container {
  max-width: 1170px;
  padding: 0 15px;
  box-sizing: border-box;
  margin: 0 auto;
}

.title {
  color: #725353;
  font-size: 54px;
  margin: 20px 0;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.header-menu-open {
  padding: 0;
  background-color: transparent;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-menu-open svg {
  width: 40px;
  height: 40px;
}

.logo img {
  max-width: 68px;
  display: block;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.menu-item:not(:last-child) {
  margin-right: 54px;
}

.menu-link {
  font-size: 18px;
  text-decoration: none;
  color: #725353;
  font-weight: 400;
  display: inline-block;
  position: relative;
}

.menu-link::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  left: 50%;
  transform: translateX(-50%);
  bottom: -6px;
  background-color: #725353;
  opacity: 0;
  transition: 0.2s;
}

.menu-link:hover::before {
  opacity: 1;
  bottom: -4px;
}

.menu-close {
  padding: 0;
  background-color: transparent;
  border: none;
  position: absolute;
  right: 16px;
  top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-close svg {
  width: 40px;
  height: 40px;
}

.socials {
  display: flex;
}

.socials-link {
  color: #fff;
  text-decoration: none;
  background-color: #725353;
  display: flex;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
}

.socials-link:not(:last-child) {
  margin-right: 12px;
}

.socials-link svg {
  width: 64%;
  height: 64%;
}

.site-title {
  background-color: #725353;
  text-align: center;
  color: #fff;
}

.site-title-inner {
  padding: 28px 0;
}

.site-title-main {
  font-size: 53px;
  font-style: italic;
  margin: 0 0 16px;
}

.site-title-main span {
  display: block;
}

.site-title-text {
  font-size: 22px;
}

.about .title {
  font-size: 37px;
}

.about-inner {
  padding: 0 0 50px;
}

.about-image img {
  display: block;
  max-width: 330px;
  width: 100%;
  margin: 0 auto;
}

.about-text {
  font-size: 17px;
  font-weight: 400;
}

.about-text li:not(:last-child) {
  margin-bottom: 10px;
}

.features {
  color: #fff;
  background-color: #725353;
  font-weight: 400;
}

.features .title {
  color: #fff;
  text-align: center;
}

.features-inner {
  padding: 70px 0;
}

.features-text {
  text-align: center;
  font-size: 17px;
  margin-bottom: 52px;
}

.features-text ol {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  line-height: 1.5;
}

.features-row {
  display: flex;
  margin: 0 -16px;
}

.features-col {
  flex-basis: 25%;
  padding: 0 16px;
  box-sizing: border-box;
}

.features-item {
  text-align: center;
}

.features-item-icon img {
  width: 60px;
  height: 60px;
  display: inline-block;
}

.services .title {
  text-align: center;
  margin-bottom: 54px;
}

.services-inner {
  padding: 70px 0;
}

.services-row {
  display: flex;
  margin: 0 -30px;
}

.services-col {
  flex-basis: 33.3333333333%;
  padding: 0 30px;
  box-sizing: border-box;
  display: flex;
}

.services-item {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.services-image {
  display: flex;
  margin-bottom: 10px;
}

.services-image img {
  width: 100%;
  max-width: 100%;
  border-radius: 6px;
}

.services-content {
  flex-grow: 1;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.services-title {
  color: #2b2b34;
  font-size: 22px;
  font-family: serif;
  font-family: "Playfair Display", sans-serif;
  font-weight: 400;
  margin-bottom: 20px;
}

.services-text {
  color: #8787a2;
  line-height: 1.5;
  font-weight: 400;
  margin-bottom: 20px;
  flex-grow: 1;
}

.services-button {
  display: inline-flex;
  height: 50px;
  border: 2px solid #725353;
  padding: 0 16px;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  color: #725353;
  text-decoration: none;
  box-sizing: border-box;
  min-width: 210px;
}

.appointment-inner {
  display: flex;
  align-items: center;
  padding: 70px 0;
}

.appointment-left {
  flex-basis: 50%;
  padding-right: 32px;
  box-sizing: border-box;
}

.appointment-title {
  font-size: 32px;
  color: #725353;
}

.appointment-form {
  max-width: 555px;
}

.appointment-form-line {
  margin-bottom: 16px;
}

.appointment-form-input {
  height: 54px;
  border: 1px solid #e0e0e7;
  width: 100%;
  border-radius: 6px;
  outline: none;
  padding: 0 20px;
  box-sizing: border-box;
}

.appointment-form-button {
  height: 54px;
  background-color: #725353;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  outline: none;
  color: #fff;
  min-width: 154px;
  border: none;
}

.appointment-right {
  flex-basis: 50%;
  text-align: center;
}

.appointment-right img {
  width: 100%;
  max-width: 460px;
}

.certificates {
  background-color: #725353;
  color: #fff;
}

.certificates .title {
  color: #fff;
  text-align: center;
  margin-bottom: 52px;
}

.certificates-inner {
  padding: 70px 0;
}

.certificates-row {
  display: flex;
  margin: 0 -16px;
}

.certificates-col {
  flex-basis: 33.3333333333%;
  padding: 0 16px;
  box-sizing: border-box;
}

.certificates-image {
  display: flex;
}

.certificates-image img {
  width: 100%;
  max-width: 100%;
}

.gallery .title {
  text-align: center;
  margin-bottom: 44px;
}

.gallery-inner {
  padding: 70px 0;
}

.gallery-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px -16px;
}

.gallery-col {
  flex-basis: 50%;
  padding: 0 8px;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.gallery-col-alt {
  flex-basis: 33.3333333333%;
}

.gallery-image {
  display: flex;
}

.gallery-image img {
  width: 100%;
  max-width: 100%;
}

.vk-block {
  background-color: #725353;
  color: #fff;
}

.vk-block .title {
  color: #fff;
  text-align: center;
  margin-bottom: 52px;
}

.vk-block-inner {
  padding: 70px 0;
}

.vk-block-row {
  display: flex;
}

.vk-block-photo {
  flex-basis: 50%;
  text-align: center;
}

.vk-block-photo img {
  max-width: 400px;
  width: 100%;
}

.vk-block-right {
  flex-basis: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.vk-block-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  height: 60px;
  padding: 0 16px;
  max-width: 280px;
  width: 100%;
  border-radius: 14px;
  background-color: #0077FF;
  text-decoration: none;
  margin-bottom: 16px;
  transition: 0.3s;
}

.vk-block-button svg {
  width: 34px;
  height: 34px;
  margin-right: 8px;
}

.vk-block-button:hover {
  transform: scale(1.03);
}

.vk-block-text {
  text-align: center;
  max-width: 340px;
  font-weight: 400;
  line-height: 1.5;
}

.reviews .title {
  text-align: center;
  margin-bottom: 50px;
}

.reviews .slick-dots {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
  align-items: center;
}

.reviews .slick-dots li:not(:last-child) {
  margin-right: 10px;
}

.reviews .slick-dots li.slick-active button {
  height: 4px;
}

.reviews .slick-dots button {
  font-size: 0;
  width: 34px;
  height: 1px;
  background-color: #725353;
  border: none;
}

.reviews-inner {
  padding: 70px 0;
}

.reviews-slider-item {
  text-align: center;
}

.reviews-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  overflow: hidden;
  margin: 0 auto;
  margin-bottom: 16px;
}

.reviews-name {
  font-family: "Playfair Display", sans-serif;
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 16px;
}

.reviews-text {
  max-width: 750px;
  margin: 0 auto;
  color: #1f1f1f;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
}

.gift {
  background-color: #725353;
  color: #fff;
}

.gift-inner {
  display: flex;
  padding: 70px 0;
}

.gift-left {
  flex-basis: 50%;
}

.gift-title {
  font-size: 32px;
  text-align: center;
}

.gift-text {
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 42px;
}

.gift-button {
  height: 70px;
  background-color: #eff8eb;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  color: #000;
  font-size: 20px;
  text-decoration: none;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  font-weight: 400;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 5px 10px;
}

.gift-right {
  flex-basis: 50%;
  text-align: center;
}

.gift-right img {
  max-width: 440px;
  width: 100%;
}

.contacts .title {
  text-align: center;
  margin-bottom: 54px;
}

.contacts-inner {
  padding: 70px 0 0;
}

.contacts-row {
  display: flex;
  align-items: center;
}

.contacts-map {
  flex-basis: 66.6666666667%;
  padding-right: 44px;
  box-sizing: border-box;
}

.contacts-content {
  flex-basis: 33.3333333333%;
  box-sizing: border-box;
}

.contacts-list {
  list-style: none;
  padding: 0;
}

.contacts-item:not(:last-child) {
  margin-bottom: 10px;
}

.contacts-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #725353;
  font-weight: 400;
}

.contacts-link svg {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.footer-inner {
  padding: 32px 0;
}

.footer-text {
  text-align: center;
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: calc(100% - 16px);
  max-width: 420px;
  background-color: #fff;
  border-radius: 10px;
  padding: 42px;
  box-sizing: border-box;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: transparent;
  padding: 0;
  border: none;
  cursor: pointer;
  display: flex;
}

.popup-close svg {
  width: 30px;
  height: 30px;
}

.popup-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 26px;
}

.popup-form-line {
  margin-bottom: 16px;
}

.popup-input {
  width: 100%;
  height: 50px;
  border: 1px solid #725353;
  padding: 0 16px;
  box-sizing: border-box;
  border-radius: 6px;
}

.popup-form-submit button {
  height: 50px;
  background-color: #725353;
  border-radius: 6px;
  border: none;
  width: 100%;
  color: #fff;
  box-sizing: border-box;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
}

@media (min-width: 768px) {
  .header-menu-open {
    display: none;
  }

  .menu-close {
    display: none;
  }
}

@media (max-width: 1023px) {
  .title {
    font-size: 40px;
  }

  .menu-item:not(:last-child) {
    margin-right: 24px;
  }

  .site-title-main {
    font-size: 40px;
  }

  .site-title-text {
    font-size: 18px;
  }

  .services-row {
    margin: 0 -8px;
  }

  .services-col {
    padding: 0 8px;
  }

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

  .contacts-map {
    flex-basis: 50%;
  }

  .contacts-content {
    flex-basis: 50%;
  }
}

@media (max-width: 767.98px) {
  .title {
    font-size: 30px;
  }

  .header-socials {
    display: none;
  }

  .menu {
    position: fixed;
    top: 0;
    right: -110%;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: #fff;
    padding: 60px 60px 0;
    box-sizing: border-box;
    transition: 0.3s;
  }

  .menu.active {
    right: 0;
  }

  .menu-list {
    flex-direction: column;
  }

  .menu-item:not(:last-child) {
    margin-right: 0;
    margin-bottom: 24px;
  }

  .menu-link {
    font-size: 22px;
  }

  .site-title-inner {
    padding: 54px 0;
  }

  .site-title-main {
    font-size: 28px;
  }

  .site-title-text {
    font-size: 16px;
  }

  .features-row {
    flex-wrap: wrap;
    margin: 0 -8px;
  }

  .features-col {
    flex-basis: 50%;
    margin-bottom: 24px;
    padding: 8px;
  }

  .services-inner {
    max-width: 360px;
    margin: 0 auto;
  }

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

  .services-col {
    flex-basis: 100%;
  }

  .services-col:not(:last-child) {
    margin-bottom: 34px;
  }

  .appointment-inner {
    flex-wrap: wrap-reverse;
    padding-top: 0;
  }

  .appointment-left {
    flex-basis: 100%;
    padding-right: 0;
  }

  .appointment-title {
    font-size: 28px;
  }

  .appointment-right {
    flex-basis: 100%;
  }

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

  .certificates-col {
    flex-basis: 100%;
  }

  .certificates-col:not(:last-child) {
    margin-bottom: 16px;
  }

  .gallery-row {
    margin: 0 -4px -8px;
  }

  .gallery-col {
    padding: 0 4px;
    margin-bottom: 8px;
  }

  .vk-block-row {
    flex-wrap: wrap;
  }

  .vk-block-photo img {
    max-width: 280px;
  }

  .vk-block-photo {
    flex-basis: 100%;
    margin-bottom: 32px;
  }

  .vk-block-right {
    flex-basis: 100%;
  }

  .vk-block-button {
    max-width: 270px;
    font-size: 18px;
  }

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

  .gift-left {
    flex-basis: 100%;
    margin-bottom: 32px;
  }

  .gift-title {
    font-size: 26px;
  }

  .gift-right {
    flex-basis: 100%;
  }

  .contacts-map {
    flex-basis: 100%;
    padding-right: 0;
    order: 1;
  }

  .contacts-content {
    flex-basis: 100%;
    margin-bottom: 32px;
  }

  .popup {
    padding: 42px 24px;
  }

  .popup-title {
    font-size: 20px;
  }
}