/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

 html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

/*   Fonts   */
@font-face {
  font-family: 'Open Sans';
  src: local("Open Sans Regular"), local("Open-Sans-Regular"), url("../fonts/OpenSans-Regular.woff2") format("woff2"), url("../fonts/OpenSans-Regular.woff") format("woff"), url("../fonts/OpenSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: local("Gilroy Regular"), local("Gilroy-Regular"), url("../fonts/Gilroy-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/Gilroy-Regular.woff2") format("woff2"), url("../fonts/Gilroy-Regular.woff") format("woff"), url("../fonts/Gilroy-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy Medium';
  src: local("Gilroy Medium"), local("Gilroy-Medium"), url("../fonts/Gilroy-Medium.eot?#iefix") format("embedded-opentype"), url("../fonts/Gilroy-Medium.woff2") format("woff2"), url("../fonts/Gilroy-Medium.woff") format("woff"), url("../fonts/Gilroy-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy Semibold';
  src: local("Gilroy Semibold"), local("Gilroy-Semibold"), url("../fonts/Gilroy-Semibold.eot?#iefix") format("embedded-opentype"), url("../fonts/Gilroy-Semibold.woff2") format("woff2"), url("../fonts/Gilroy-Semibold.woff") format("woff"), url("../fonts/Gilroy-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy Bold';
  src: local("Gilroy Bold"), local("Gilroy-Bold"), url("../fonts/Gilroy-Bold.eot?#iefix") format("embedded-opentype"), url("../fonts/Gilroy-Bold.woff2") format("woff2"), url("../fonts/Gilroy-Bold.woff") format("woff"), url("../fonts/Gilroy-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Bold';
  src: local("Cormorant Bold"), local("Cormorant-Bold"), url("../fonts/Cormorant-Bold.woff2") format("woff2"), url("../fonts/Cormorant-Bold.woff") format("woff"), url("../fonts/Cormorant-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat Alternates';
  src: local("Montserrat Alternates Regular"), local("Montserrat-Alternates-Regular"), url("../fonts/MontserratAlternates-Regular.woff2") format("woff2"), url("../fonts/MontserratAlternates-Regular.woff") format("woff"), url("../fonts/MontserratAlternates-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, p {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Gilroy', sans-serif;
  position: relative;
  background-color: #ffffff;
  color: #333333;
  font-size: 16px;
  line-height: 1.2;
}

html,
body {
  height: 100%;
}

body.show {
  overflow: hidden;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.content {
  flex: 1 0 auto;
}

.footer {
  flex: 0 0 auto;
}

button:hover {
  cursor: pointer;
}

img {
  max-width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.container {
  max-width: 1230px;
  position: relative;
}

.logo {
  flex-shrink: 0;
  margin-right: 10px;
  max-width: 300px;
}

.logo__text {
  font-family: 'Cormorant Bold', sans-serif;
  font-weight: 700;
  font-size: 30px;
  text-transform: uppercase;
  color: #ffffff;
}

.title {
  font-family: 'Cormorant Bold', sans-serif;
  font-weight: 700;
  font-size: 55px;
  color: #333333;
  padding-bottom: 25px;
  position: relative;
}

.title::after {
  content: '';
  width: 50px;
  height: 19px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: url("../img/icons/title-decor.svg") center center/contain no-repeat;
}

.title-center {
  text-align: center;
}

.title-center::after {
  left: 50%;
  transform: translateX(-50%);
}

.social__links {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.social__link {
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.social__link + .social__link {
  margin-left: 18px;
}

.social__link img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  width: 24px;
  height: 24px;
  -o-object-fit: contain;
  object-fit: contain;
  transition: opacity .3s ease;
}

.social__link img + img {
  opacity: 0;
}

.social__link:hover img {
  opacity: 0;
  transition: opacity .3s ease;
}

.social__link:hover img + img {
  opacity: 1;
}

.address-item {
  font-family: 'Gilroy Medium', sans-serif;
  font-size: 18px;
  color: #ffffff;
  margin: 3px 5px;
  position: relative;
  padding-left: 26px;
}

.address-item:hover {
  color: #ffffff;
}

.address-item::before {
  content: '';
  width: 15px;
  height: 15px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background: url("../img/icons/location.png") center center/cover no-repeat;
}

.email-item {
  font-family: 'Gilroy Medium', sans-serif;
  font-size: 18px;
  color: #ffffff;
  margin: 3px 5px;
  position: relative;
  padding-left: 26px;
}

.email-item::before {
  content: '';
  width: 15px;
  height: 15px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background: url("../img/icons/email.png") center center/cover no-repeat;
}

.email-item:hover {
  color: #ffffff;
}

.phone-item {
  display: block;
  font-family: 'Gilroy Bold', sans-serif;
  font-size: 26px;
  color: #ffffff;
  margin: 0 5px;
  position: relative;
  padding-left: 22px;
}

.phone-item::before {
  content: '';
  width: 15px;
  height: 15px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background: url("../img/icons/phone.png") center center/cover no-repeat;
}

.phone-item:hover {
  color: #ffffff;
}

.pageup {
  width: 59px;
  height: 59px;
  position: fixed;
  bottom: 50px;
  right: 50px;
  display: none;
  background-image: url("../img/icons/up.svg");
  background-size: 70%;
  background-position: center 45%;
  background-color: #9a785c;
  background-repeat: no-repeat;
  box-shadow: 0px 4px 6px rgba(36, 216, 150, 0.3);
  border-radius: 20px;
  border: none;
  z-index: 30;
  transition: background-color .3s ease;
}

.pageup:hover {
  background-color: #ffca0d;
  transition: background-color .3s ease;
}

.pageup.show {
  display: block;
}

.pageup:focus {
  outline: none;
}

@media (max-width: 900px) {
  .pageup {
    width: 40px;
    height: 40px;
    bottom: 35px;
    right: 35px;
    border-radius: 10px;
  }
}

@media (max-width: 500px) {
  .pageup {
    bottom: 25px;
    right: 25px;
    opacity: .8;
  }
}

@media (max-width: 400px) {
  .pageup {
    bottom: 20px;
    right: 20px;
  }
}

.main__link {
  margin-top: 9px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.form-group {
  margin: 0;
}

.page {
  padding: 25px 0 75px;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
  background: none;
}

.header {
  background: linear-gradient(180deg, #6d5644 0%, #b59775 100%);
}

.header__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.header .phone-item {
  margin-left: auto;
}

.header__links {
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
}

.header-menu {
  position: relative;
  z-index: 60;
  background-color: #f5f5f5;
}

.header-menu__wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  position: relative;
}

.header-menu__btn {
  display: none;
  width: 40px;
  padding: 15px 0;
  margin: 2px auto;
}

.header-menu__btn span {
  position: relative;
  display: block;
  width: 40px;
  height: 4px;
  background-color: #333333;
  border-radius: 5px;
  transition: background-color .1s ease-in .2s;
}

.header-menu__btn span::before, .header-menu__btn span::after {
  content: "";
  position: absolute;
  background-color: #333333;
  border-radius: 5px;
  width: 40px;
  height: 4px;
  top: -10px;
  transition: transform .2s ease-in, .2s top .2s linear;
}

.header-menu__btn span::after {
  top: 10px;
}

.header-menu__btn.active {
  padding: 15px 0;
}

.header-menu__btn.active span {
  background-color: transparent;
}

.header-menu__btn.active span::before {
  top: 0;
  transform: rotate(45deg);
  transition: top .2s linear, transform .2s ease-in .2s;
}

.header-menu__btn.active span::after {
  top: 0;
  transform: rotate(-45deg);
  transition: top .2s linear, transform .2s ease-in .2s;
}

.header-menu__list {
  list-style: none;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.header-menu__item {
  position: relative;
  margin: 9px 18px 0;
}

.header-menu__item:hover {
  cursor: pointer;
}

.header-menu__item:hover .header-menu__link {
  color: #9a785c;
}

.header-menu__item:hover > .inner-menu {
  height: auto;
  width: auto;
  min-width: 217px;
  background-color: #ffffff;
  z-index: 10;
  opacity: 1;
  padding: 20px 15px;
  transition: opacity .5s ease;
}

.header-menu__item:hover.contains::after {
  border-color: #9a785c;
  transition: border-color .5s ease;
}

.header-menu__item:first-child {
  margin-left: 0;
}

.header-menu__item.contains {
  padding-right: 15px !important;
  position: relative;
}

.header-menu__item.contains::after {
  content: '';
  position: absolute;
  top: 39%;
  right: 0;
  width: 8px;
  height: 8px;
  background-color: transparent;
  border: 2px solid #333333;
  border-radius: 1px;
  border-right: none;
  border-top: none;
  transform: translateY(-50%) rotate(-45deg);
  transform-origin: center;
  transition: border-color .3s ease;
}

.header-menu__item.contains > .header-menu__link {
  padding-right: 0;
  margin-right: 0;
}

.header-menu__item.active::after {
  border-color: #9a785c;
}

.header-menu__item.active .header-menu__link {
  color: #9a785c;
}

.header-menu__link {
  display: block;
  font-family: 'Gilroy Semibold', sans-serif;
  font-size: 16px;
  color: #333333;
  text-transform: uppercase;
  text-align: center;
  padding: 13px 10px 22px;
  transition: color .3s ease;
  position: relative;
}

.inner-menu {
  height: 0;
  z-index: -1;
  opacity: 0;
  width: 0;
  overflow: hidden;
  position: absolute;
  top: 100%;
  left: 55%;
  transform: translateX(-50%);
  background-color: #ffffff;
  transition: opacity .5s ease;
}

.inner-menu:hover {
  height: auto;
  z-index: 1;
  opacity: 1;
  transition: opacity .5s ease;
}

.inner-menu li {
  list-style: none;
  text-align: center;
}

.inner-menu li:last-child .inner-menu__link {
  margin-bottom: 0;
}

.inner-menu__link {
  display: inline-block;
  text-align: center;
  position: relative;
  padding: 4px 0;
  margin-bottom: 5px;
  font-family: 'Gilroy Medium', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #283b37;
  text-decoration: none;
  transition: color .3s ease;
}

.inner-menu__link:hover {
  color: #9a785c;
  transition: color .3s ease;
}

.mobile-menu {
  display: none;
  justify-content: center;
  position: absolute;
  z-index: 55;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% + 30px);
  background-color: #f5f5f5;
  overflow: hidden;
  align-items: center;
  padding-bottom: 10px;
}

.mobile-menu.show {
  display: flex;
}

.mobile-menu__link {
  font-family: 'Gilroy Semibold', sans-serif;
  text-transform: uppercase;
  color: #283b37;
  display: block;
  font-size: 16px;
  padding: 2px 0;
  margin-top: 3px;
  margin-bottom: 3px;
}

.mobile-menu__link:hover, .mobile-menu__link:focus, .mobile-menu__link:active {
  color: #ffffff;
}

.mobile-menu__link--small {
  font-size: 14px;
  text-transform: none;
}

.btn {
  padding: 12px 5px;
  background-color: #ffca0d;
  font-family: 'Gilroy Medium', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.25;
  border-radius: 35px;
  text-align: center;
  text-transform: uppercase;
  color: #333333;
  transition: background-color .5s ease, color .5s ease;
}

.btn:hover {
  background-color: #333436;
  color: #ffffff;
  transition: background-color .5s ease, color .5s ease;
}

.btn-modal {
  padding: 11px 20px;
  margin-left: 45px;
  min-width: 198px;
  transition: background-color .5s ease, color .5s ease;
}

.btn-modal:hover {
  background-color: #333436;
  color: #ffffff;
  transition: background-color .5s ease, color .5s ease;
}

.btn-link {
  padding: 11px 20px;
  margin-left: 0;
  font-size: 18px;
  min-width: 226px;
  transition: background-color .5s ease, color .5s ease;
}

.btn-link:hover {
  text-decoration: none;
  background-color: #333436;
  color: #ffffff;
  transition: background-color .5s ease, color .5s ease;
}

.btn-gallery {
  color: #ffffff;
  padding: 11px 20px;
  font-size: 18px;
  min-width: 226px;
  background-color: #b59775;
  transition: background-color .5s ease, color .5s ease;
}

.btn-gallery:hover {
  background-color: #333436;
  color: #ffffff;
  transition: background-color .5s ease, color .5s ease;
}

.btn-contacts {
  padding: 11px 20px;
  font-size: 18px;
  min-width: 226px;
  transition: background-color .5s ease, color .5s ease;
}

.btn-contacts:hover {
  background-color: #333436;
  color: #ffffff;
  transition: background-color .5s ease, color .5s ease;
}

.btn-popup {
  padding: 11px 20px;
  font-size: 18px;
  min-width: 198px;
  transition: background-color .5s ease, color .5s ease;
}

.btn-popup:hover {
  background-color: #333436;
  color: #ffffff;
  transition: background-color .5s ease, color .5s ease;
}

.top {
  position: relative;
  background: url("../img/top/bg.jpg") center center/cover no-repeat;
}

.top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), rgba(109, 86, 68, 0.4);
}

.top::after {
  content: '';
  position: absolute;
  top: calc(100% - 6.7vw);
  left: 0;
  width: 100%;
  height: 8.3vw;
  background: url("../img/icons/top-after.svg") center center/cover no-repeat;
}

.top__text {
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  max-width: 1050px;
  padding: 55px 0 130px;
  margin: 0 auto;
  flex-grow: 1;
  text-align: center;
  min-height: 640px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.top__title {
  font-family: 'Cormorant Bold', sans-serif;
  font-size: 64px;
  color: #ffffff;
  margin-bottom: 25px;
  text-align: center;
  text-transform: uppercase;
}

.top__descr {
  font-family: 'Gilroy', sans-serif;
  font-weight: 400;
  font-size: 24px;
  text-transform: uppercase;
  color: #ffffff;
}

.content .top__text {
  min-height: 424px;
  padding-top: 20px;
}

.about {
  padding: 44px 0 51px;
}

.about__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 34px;
}

.about__image {
  width: 537px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-shrink: 0;
  border: 8px solid #d9d9d9;
  overflow: hidden;
  margin-right: 90px;
}

.about__text {
  flex-grow: 1;
  font-size: 20px;
  line-height: 1.4;
  color: #333333;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about__text p {
  margin-bottom: 15px;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.categories {
  padding: 21px 0 105px;
}

.categories__subtitle {
  margin-top: 25px;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  text-align: center;
  color: #b59775;
}

.categories__wrapper {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 42px -0.3% 0px;
}

.categories__item {
  width: 16%;
  margin: 0 0.3% 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.categories__icon {
  width: 154px;
  height: 154px;
  border: 4px solid #b59775;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  overflow: hidden;
}

.categories__icon img {
  max-width: 60%;
  max-height: 60%;
}

.categories__descr {
  font-family: 'Gilroy Semibold', sans-serif;
  font-size: 16px;
  text-align: center;
  padding: 10px 5px;
  text-transform: uppercase;
}

.main-gallery {
  padding: 181px 0 100px;
  background-color: #fff7ed;
  position: relative;
}

.main-gallery::before {
  content: '';
  position: absolute;
  top: -1.3vw;
  left: 0;
  width: 100%;
  height: 8.3vw;
  background: url("../img/icons/main-gallery-before.svg") center center/cover no-repeat;
}

.main-gallery__wrapper {
  margin: 21px -17px 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.main-gallery__item {
  width: calc(20% - 34px);
  height: 250px;
  margin: 0 17px 31px;
  overflow: hidden;
  border-radius: 20px;
}

.main-gallery__item a {
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  position: relative;
}

.main-gallery__item:hover .main-gallery__title {
  color: #ffffff;
  background-color: #b59775;
  transition: color .5s ease, background-color .5s ease;
}

.main-gallery__item:nth-child(1), .main-gallery__item:nth-child(2), .main-gallery__item:nth-child(3) {
  width: calc(33.3% - 34px);
}

.main-gallery__title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: 'Gilroy Semibold', sans-serif;
  font-size: 16px;
  color: #ffffff;
  text-align: center;
  transition: color .5s ease, background-color .5s ease;
  background-color: rgba(51, 51, 51, 0.7);
  padding: 5px;
  min-height: 67px;
  position: relative;
  z-index: 1;
}

.main-gallery img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.main-gallery__descr {
  font-size: 20px;
  line-height: 1.4;
  text-align: center;
  color: #b59775;
  margin-bottom: 10px;
}

.main-form {
  padding: 79px 0 100px;
  background-color: #9a785c;
  position: relative;
}

.main-form .container {
  position: relative;
  z-index: 2;
}

.main-form .title {
  color: #ffffff;
}

.main-form .title::after {
  background-image: url("../img/icons/title-decor-white.svg");
}

.main-form__subtitle {
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  text-align: center;
  color: #ffffff;
  margin-top: 25px;
  margin-bottom: 37px;
}

.main-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 50%;
  background: url("../img/icons/form-before.svg") left center/contain no-repeat;
  z-index: 1;
}

.main-form::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 57%;
  background: url("../img/icons/form-after.svg") right center/contain no-repeat;
  z-index: 1;
}

.main-form .modal-content {
  background-color: transparent;
  border: none;
  max-width: 475px;
  margin: 0 auto;
}

.main-form .modal-body {
  padding: 0;
}

.main-form .modal-body textarea.form-control {
  height: 96px;
}

.main-form .form-control {
  border: 1px solid #f3f9fe;
}

.main-form .custom-control {
  min-height: 1px;
  padding-left: 0;
}

.main-form .custom-control-input {
  position: absolute;
  bottom: 107px;
  z-index: -1;
  opacity: 0;
}

.main-form .custom-control-input:hover {
  cursor: pointer;
}

.main-form .custom-control-input:checked + label::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 3px;
  height: 5px;
  width: 9px;
  transform: rotate(312deg);
  border: 2px solid #333333;
  border-radius: 2px;
  border-right: none;
  border-top: none;
  border-radius: 1.5px;
  z-index: 5;
}

.main-form .custom-control-input:checked + label::before {
  background-color: #ffffff !important;
  border-color: #ffffff;
}

.main-form .custom-control-label {
  display: flex;
  align-items: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  position: relative;
  font-family: 'Gilroy', sans-serif;
  font-size: 12px;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 31px;
  padding-left: 24px;
}

.main-form .custom-control-label:hover {
  cursor: pointer;
}

.main-form .custom-control-label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  background-color: #ffffff;
  border: 1px solid #c4c4c4;
  border-radius: 3px;
}

.main-form .popup-description {
  color: #ffffff;
}

.popup {
  background-color: rgba(90, 103, 85, 0.7);
}

.popup-dialog {
  width: 100%;
  max-width: 614px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) !important;
  margin: 0;
}

.popup form {
  width: 100%;
}

.popup-content {
  border: none;
  border-radius: 0;
  position: static;
  padding: 26px 40px 50px;
  margin: 0;
  background-color: #ffffff;
  border-radius: 25px;
}

.popup-header {
  padding: 0;
  border-bottom: none;
  border-radius: 0;
  margin-bottom: 25px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.popup-header h3 {
  font-family: 'Cormorant Bold', sans-serif;
  font-weight: 700;
  font-size: 40px;
  color: #2B2B2B;
  text-align: center;
  margin: 0;
}

.popup-header h3 span {
  display: block;
  margin-top: 5px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.62;
  text-align: center;
  color: #333333;
}

.popup-header button {
  padding: 0;
  position: absolute;
  top: -55px;
  left: 102%;
  width: 40px;
  height: 40px;
  border: none;
  background-color: transparent;
  background-image: url("../img/icons/close.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.popup-body {
  padding: 0;
}

.popup-body .form-control {
  background-color: #f5f5f5;
  border: 1px solid #edd0c8;
  border-radius: 10px;
  font-family: 'Gilroy', sans-serif;
  font-size: 16px;
  color: #2b2b2b;
  padding: 12px 14px 8px;
  margin-bottom: 18px;
  width: 100%;
}

.popup-body .form-control::-moz-placeholder {
  font-family: 'Gilroy', sans-serif;
  font-size: 16px;
  color: #2b2b2b;
}

.popup-body .form-control::placeholder {
  font-family: 'Gilroy', sans-serif;
  font-size: 16px;
  color: #2b2b2b;
}

.popup-body .form-control:focus {
  outline: none;
  border: 1px solid #b59775;
}

.popup-body .form-control:last-child {
  margin-bottom: 0;
}

.popup-body .form-group {
  max-width: 475px;
  margin: 0 auto;
}

.popup-body .descr {
  font-size: 18px;
  text-align: center;
}

.popup-body textarea.form-control {
  height: 91px;
  resize: none;
  margin-bottom: 17px;
}

.popup-body label {
  cursor: pointer;
}

.popup-body select.form-control:not([size]):not([multiple]) {
  height: auto;
  padding: 10px 20px;
}

.popup-description {
  font-family: 'Gilroy', sans-serif;
  font-size: 14px;
  line-height: 1.15;
  color: #1b1507;
  margin-bottom: 9px;
}

.popup-footer {
  justify-content: center;
  padding: 0;
  border: none;
}

.custom-control {
  min-height: 1px;
  padding-left: 0;
}

.custom-control-input {
  position: absolute;
  bottom: 107px;
  z-index: -1;
  opacity: 0;
}

.custom-control-input:hover {
  cursor: pointer;
}

.custom-control-input:checked + label::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 3px;
  height: 5px;
  width: 9px;
  transform: rotate(312deg);
  border: 2px solid #ffffff;
  border-radius: 2px;
  border-right: none;
  border-top: none;
  border-radius: 1.5px;
  z-index: 5;
}

.custom-control-input:checked + label::before {
  background-color: #c69b92 !important;
  border-color: #c69b92;
}

.custom-control-label {
  color: #1b1507;
  display: flex;
  align-items: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  position: relative;
  font-family: 'Gilroy', sans-serif;
  font-size: 12px;
  line-height: 1.15;
  margin-bottom: 31px;
  padding-left: 24px;
}

.custom-control-label:hover {
  cursor: pointer;
}

.custom-control-label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  background-color: #ffffff;
  border: 1px solid #c4c4c4;
  border-radius: 3px;
}

.contacts {
  background-color: #fff7ed;
  padding: 68px 0 55px;
}

.contacts__wrapper {
  display: flex;
  justify-content: center;
  margin-top: 87px;
}

.contacts__text {
  width: 50%;
  padding-bottom: 20px;
  padding-right: 15px;
}

.contacts__item {
  margin-bottom: 20px;
  padding-left: 24px;
  position: relative;
}

.contacts__item-schedule {
  position: relative;
}

.contacts__item-schedule::before {
  content: '';
  width: 15px;
  height: 15px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background: url("../img/icons/schedule.png") center center/cover no-repeat;
}

.contacts__description {
  font-family: 'Gilroy', sans-serif;
  font-size: 14px;
  color: #8b949d;
  margin-bottom: 7px;
}

.contacts__address {
  font-family: 'Gilroy Medium', sans-serif;
  font-size: 18px;
  color: #222222;
  position: relative;
}

.contacts__address:before {
  content: '';
  position: absolute;
  top: 50%;
  left: -33px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url("../img/icons/marker.svg") center center/cover no-repeat;
}

.contacts__link {
  font-family: 'Gilroy Medium', sans-serif;
  color: #9a785c;
  font-size: 20px;
}

.contacts .phone-item {
  font-family: 'Gilroy Medium', sans-serif;
  color: #9a785c;
  font-size: 20px;
  padding-left: 24px;
  margin-left: -24px;
}

.contacts .email-item {
  font-family: 'Gilroy Medium', sans-serif;
  color: #9a785c;
  font-size: 20px;
  padding-left: 24px;
  margin-left: -24px;
}

.contacts .address-item {
  font-family: 'Gilroy Medium', sans-serif;
  color: #9a785c;
  font-size: 20px;
  padding-left: 24px;
  margin-left: -24px;
}

.contacts__map {
  width: 50%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
}

.footer {
  padding: 70px 0 85px;
  background-color: #6d5644;
}

.footer__wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  width: 100%;
  max-width: calc(100% - 320px);
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.footer-right {
  width: 300px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-menu {
  margin-left: auto;
}

.footer-menu__btn {
  display: none;
  width: 40px;
  padding: 15px 0;
  margin: 5px auto;
}

.footer-menu__btn span {
  position: relative;
  display: block;
  width: 40px;
  height: 4px;
  background-color: #ffffff;
  border-radius: 5px;
  transition: background-color .1s ease-in .2s;
}

.footer-menu__btn span::before, .footer-menu__btn span::after {
  content: "";
  position: absolute;
  background-color: #ffffff;
  border-radius: 5px;
  width: 40px;
  height: 4px;
  top: -10px;
  transition: transform .2s ease-in, .2s top .2s linear;
}

.footer-menu__btn span::after {
  top: 10px;
}

.footer-menu__btn.active {
  padding: 15px 0;
}

.footer-menu__btn.active span {
  background-color: transparent;
}

.footer-menu__btn.active span::before {
  top: 0;
  transform: rotate(45deg);
  transition: top .2s linear, transform .2s ease-in .2s;
}

.footer-menu__btn.active span::after {
  top: 0;
  transform: rotate(-45deg);
  transition: top .2s linear, transform .2s ease-in .2s;
}

.footer-menu__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 0;
}

.footer-menu__item {
  position: relative;
  margin: 3px 9px;
}

.footer-menu__item:hover {
  cursor: pointer;
}

.footer-menu__item:hover .footer-menu__link {
  color: #b59775;
  transition: color .3s ease;
}

.footer-menu__item.active .footer-menu__link {
  color: #b59775;
}

.footer-menu__link {
  display: block;
  font-family: 'Gilroy', sans-serif;
  font-size: 16px;
  color: #ffffff;
  transition: color .3s ease;
  padding: 3px 5px;
}

.footer-mobile__menu {
  display: none;
  justify-content: center;
  z-index: 55;
  position: absolute;
  bottom: 100%;
  left: 0;
  padding: 10px 15px;
  width: 100%;
  background-color: #6d5644;
  overflow: hidden;
  align-items: center;
}

.footer-mobile__menu.show {
  display: flex;
}

.footer-mobile__menu-list {
  display: flex;
  flex-direction: column;
  height: auto;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-y: auto;
}

.footer-mobile__menu-item {
  text-align: center;
  padding-left: 0;
  margin-bottom: 3px;
  margin-left: 0;
}

.footer-mobile__menu-item:first-child {
  margin-bottom: 0;
}

.footer-mobile__menu-link {
  display: block;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  padding: 4px 0;
  transition: color .3s ease;
}

.footer-mobile__menu-link:hover {
  color: #00a6da;
  transition: color .3s ease;
}

.footer-mobile__menu-link--small {
  font-size: 14px !important;
}

.footer__metrics {
  margin: 5px;
}

.footer__copyright {
  display: flex;
  width: 160px;
  padding-left: 45px;
  padding-bottom: 10px;
  background: url("../img/footer/galaxy.png") left center/contain no-repeat;
  background-size: 42px 42px;
  text-decoration: none;
  margin-left: 5px;
}

.footer__copyright-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  line-height: 1.3;
  color: #ffffff;
}

.footer__copyright-text > span {
  -webkit-text-decoration-line: underline;
  text-decoration-line: underline;
}

.inner-page__text {
  margin-top: 28px;
  color: #333333;
  font-size: 18px;
}

.inner-page__text h2 {
  font-family: 'Cormorant Bold', sans-serif;
  font-size: 36px;
  margin-top: 35px;
  margin-bottom: 8px;
  text-align: left;
}

.inner-page__text h3 {
  font-family: 'Cormorant Bold', sans-serif;
  font-size: 30px;
  margin-top: 20px;
  margin-bottom: 5px;
  text-align: left;
}

.inner-page__text p {
  margin-bottom: 18px;
  line-height: 1.55;
}

.inner-page__text ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 20px;
}

.inner-page__text li {
  position: relative;
  padding-left: 20px;
  line-height: 1.3;
}

.inner-page__text li::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b59775;
}

.inner-page__text li:not(:last-child) {
  margin-bottom: 20px;
}

.inner-page__text a {
  color: #b59775;
}

.inner-page__text span {
  font-family: 'Gilroy Bold', sans-serif;
}

.inner-page__text table {
  margin: 25px 0 20px;
  width: 100%;
  font-family: 'Gilroy Medium', sans-serif;
  font-size: 16px;
  border-spacing: 0;
}

.inner-page__text thead tr:nth-child(odd) {
  background-color: #ffffff;
}

.inner-page__text thead tr:nth-child(even) {
  background-color: #d9d9d9;
}

.inner-page__text tr:nth-child(odd) {
  background-color: #d9d9d9;
}

.inner-page__text th {
  padding: 14px 5px;
}

.inner-page__text th:first-child {
  padding-left: 14px;
}

.inner-page__text th:last-child {
  padding-right: 19px;
  font-family: 'Gilroy Bold', sans-serif;
  text-align: right;
}

.inner-page__text td {
  padding: 14px 5px;
  border: none;
}

.inner-page__text td:first-child {
  padding-left: 14px;
}

.inner-page__text td:last-child {
  padding-right: 19px;
  font-family: 'Gilroy Bold', sans-serif;
  text-align: right;
}

.inner-page__wrap {
  margin: 25px 0 15px;
}

.inner-page__image {
  display: flex;
  justify-content: center;
}

.inner-page__images {
  margin: 30px 0 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.inner-page__images-item {
  width: 100%;
  height: 281px;
  max-width: 31.3%;
  margin: 10px 1%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.inner-page__photo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 34px;
  margin-top: 25px;
  position: relative;
  overflow: hidden;
}

.breadcrumb {
  list-style: none;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: center;
  text-align: left;
  margin: 0;
}

.breadcrumb-item {
  position: relative;
  margin: 7px 6px 7px 0;
  padding-left: 17px;
  padding-right: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '';
  width: 5px;
  height: 5px;
  background-color: #8b949d;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 3px;
  padding: 0;
  transform: translateY(-50%);
}

.breadcrumb-item:first-child {
  padding-left: 0;
}

.breadcrumb-item a {
  font-family: 'Gilroy', sans-serif;
  font-size: 16px;
  line-height: 17px;
  color: #8b949d;
  text-decoration: none;
}

.breadcrumb-item.active a {
  font-family: 'Gilroy', sans-serif;
  color: #5a6755;
}

.breadcrumb-item:last-child {
  color: #5a6755;
}

.breadcrumb-item.active {
  display: flex;
  align-items: center;
  font-size: 16px;
  line-height: 17px;
  color: #5a6755;
}

.breadcrumb-item.active::before {
  background-color: #5a6755;
}

.text-center {
  text-align: center;
  margin: 20px 0;
}

@media (max-width: 1260px) {
  .breadcrumb {
    margin-bottom: 8px;
  }
}

@media (max-width: 490px) {
  .breadcrumb {
    margin-top: 0;
  }
  .breadcrumb-item a {
    font-size: 14px;
    line-height: 15px;
  }
  .breadcrumb-item.active {
    font-size: 14px;
    line-height: 15px;
  }
  .pagination {
    margin: 5px 0 25px;
  }
}

.pagination {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 0;
  margin-left: 15px;
  margin-right: 15px;
}

.pagination li {
  margin: 5px 2px;
  padding-left: 0 !important;
}

.pagination li:before {
  display: none;
}

.pagination li:first-child:not(.active) {
  border: 1px solid #8b949d;
  border-radius: 10px;
  background-image: url("../img/sl_left.svg");
  background-position: 11px center;
  background-size: 33%;
  background-repeat: no-repeat;
  background-color: transparent;
  transition: background-color .3s ease, background-image .3s ease, border .3s ease;
}

.pagination li:first-child:not(.active):hover {
  border: 1px solid #9a785c;
  background-image: url("../img/sl_left-hover.svg");
  background-color: #9a785c;
  transition: background-color .3s ease, background-image .3s ease, border .3s ease;
}

.pagination li:first-child:not(.active) a {
  font-size: 0;
}

.pagination li:last-child:not(.active) {
  border: 1px solid #8b949d;
  border-radius: 10px;
  background-image: url("../img/sl_right.svg");
  background-position: 13px center;
  background-size: 33%;
  background-repeat: no-repeat;
  background-color: transparent;
  transition: background-color .3s ease, background-image .3s ease, border .3s ease;
}

.pagination li:last-child:not(.active):hover {
  border: 1px solid #9a785c;
  background-image: url("../img/sl_right-hover.svg");
  background-color: #9a785c;
  transition: background-color .3s ease, background-image .3s ease, border .3s ease;
}

.pagination li:last-child:not(.active) a {
  font-size: 0;
}

.pagination li.active {
  border: 1px solid #9a785c;
  border-radius: 10px;
  background-color: #9a785c;
}

.pagination li a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat Alternates", sans-serif;
  width: 35px;
  height: 35px;
  font-size: 15px;
  line-height: 1.2;
  color: #888888;
  text-decoration: none;
}

.pagination li.active a {
  color: #ffffff;
}

@media (max-width: 520px) {
  .pagination {
    justify-content: center;
  }
  .pagination li a {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
  .pagination li:first-child:not(.active) {
    background-position: 10px center;
  }
  .pagination li:last-child:not(.active) {
    background-position: 14px center;
  }
}

.photo-gallery__wrapper {
  margin: 40px -18px 15px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.photo-gallery__item {
  width: calc(33.3% - 36px);
  height: 273px;
  margin: 0 18px 38px;
  border-radius: 20px;
  overflow: hidden;
}

.photo-gallery__item a {
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  position: relative;
}

.photo-gallery__item:hover .photo-gallery__title {
  color: #ffffff;
  background-color: #b59775;
  transition: color .5s ease, background-color .5s ease;
}

.photo-gallery__title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: 'Gilroy Semibold', sans-serif;
  text-transform: uppercase;
  font-size: 16px;
  color: #ffffff;
  text-align: center;
  transition: color .5s ease, background-color .5s ease;
  background-color: rgba(51, 51, 51, 0.7);
  padding: 5px;
  min-height: 73px;
}

.photo-gallery img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.photo-album__wrapper {
  margin: 35px -12px 15px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.photo-album__item {
  width: calc(25% - 24px);
  margin: 0 12px 23px;
  text-decoration: none;
}

.photo-album__image {
  display: block;
  width: 100%;
  height: 204px;
  position: relative;
}

.photo-album__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (min-width: 1920px) {
  .top::after {
    top: calc(100% - 6.8vw);
  }
  .top__text {
    padding-bottom: 8vw;
  }
}

@media (max-width: 1280px) {
  .header .btn-modal {
    margin-left: 20px;
  }
  .top::after {
    top: calc(100% - 8.2vw);
    height: 10vw;
  }
  .top__text {
    padding: 40px 0 100px;
    min-height: 550px;
  }
  .top__title {
    font-size: 58px;
    margin-bottom: 20px;
  }
  .about {
    padding: 30px 0;
  }
  .about__wrapper {
    margin-top: 25px;
  }
  .about__image {
    width: 510px;
    border: 6px solid #d9d9d9;
    margin-right: 20px;
  }
  .categories {
    padding: 20px 0 65px;
  }
  .categories__subtitle {
    margin-top: 20px;
  }
  .categories__wrapper {
    margin: 30px -0.3% 0px;
  }
  .categories__icon {
    width: 130px;
    height: 130px;
    margin-bottom: 10px;
  }
  .categories__descr {
    padding: 0 5px;
  }
  .main-gallery {
    padding: 90px 0 50px;
  }
  .main-gallery__wrapper {
    margin: 20px -10px 0;
  }
  .main-gallery__item {
    width: calc(20% - 20px);
    height: 240px;
    margin: 0 10px 20px;
  }
  .main-gallery__item:nth-child(1), .main-gallery__item:nth-child(2), .main-gallery__item:nth-child(3) {
    width: calc(33.3% - 20px);
  }
  .main-gallery__title {
    min-height: 60px;
  }
  .main-form {
    padding: 40px 0 50px;
  }
  .contacts {
    padding: 30px 0;
  }
  .contacts__wrapper {
    margin-top: 40px;
  }
  .contacts__item {
    margin-bottom: 15px;
  }
  .footer {
    padding: 25px 0 20px;
  }
  .inner-page__photo {
    margin-bottom: 30px;
  }
  .inner-page__photo img {
    overflow: hidden;
  }
  .inner-page__photo img + img {
    margin-top: 15px;
  }
  .inner-page__photo a + a {
    margin-top: 15px;
  }
  .inner-page__text h2 {
    font-size: 32px;
    margin-top: 15px;
  }
  .inner-page__text h3 {
    margin-top: 20px;
    font-size: 26px;
  }
  .inner-page__text li {
    padding-left: 15px;
  }
  .inner-page__text li::before {
    width: 7px;
    height: 7px;
  }
  .inner-page__images {
    margin: 20px 0 25px;
  }
  .inner-page__images-item {
    height: 22vw;
  }
  .photo-gallery__wrapper {
    margin-top: 30px;
    margin-left: -1%;
    margin-right: -1%;
  }
  .photo-gallery__item {
    width: 31.3%;
    height: 21.7vw;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 30px;
  }
  .photo-album__wrapper {
    margin-top: 25px;
    margin-left: -.5%;
    margin-right: -.5%;
  }
  .photo-album__item {
    width: 24%;
    margin-left: .5%;
    margin-right: .5%;
    margin-bottom: 15px;
  }
  .photo-album__image {
    height: 16.5vw;
  }
}

@media (max-width: 1090px) {
  .main-gallery {
    padding: 80px 0 40px;
  }
  .main-gallery__wrapper {
    margin: 20px -5px 0;
  }
  .main-gallery__item {
    width: calc(20% - 10px);
    margin: 0 5px 20px;
  }
  .main-gallery__item:nth-child(1), .main-gallery__item:nth-child(2), .main-gallery__item:nth-child(3) {
    width: calc(33.3% - 10px);
  }
  .footer__wrapper {
    flex-wrap: wrap;
  }
  .footer-left {
    max-width: 100%;
    margin-bottom: 15px;
    justify-content: space-between;
  }
  .footer-right {
    width: 100%;
  }
  .photo-gallery__wrapper {
    margin-top: 20px;
    margin-left: -0.5%;
    margin-right: -0.5%;
  }
  .photo-gallery__item {
    width: 32.3%;
    margin-left: .5%;
    margin-right: .5%;
    margin-bottom: 20px;
  }
  .photo-gallery__title {
    min-height: 60px;
  }
}

@media (max-width: 990px) {
  .title {
    font-size: 46px;
  }
  .about {
    padding: 25px 0;
  }
  .about__wrapper {
    margin-top: 20px;
  }
  .about__image {
    width: 50%;
    border: 5px solid #d9d9d9;
    margin-right: 15px;
  }
  .about__text {
    line-height: 1.3;
  }
  .about__text p {
    margin-bottom: 12px;
  }
  .categories {
    padding: 20px 0 55px;
  }
  .categories__wrapper {
    margin: 25px -15px 0px;
  }
  .categories__item {
    width: calc(20% - 30px);
    margin: 0 15px 17px;
  }
  .main-gallery__item {
    width: calc(25% - 10px);
  }
  .contacts {
    padding: 20px 0;
  }
  .contacts__wrapper {
    margin-top: 25px;
  }
  .photo-album__item {
    width: 32.3%;
  }
  .photo-album__image {
    height: 23vw;
  }
}

@media (max-width: 890px) {
  .title {
    font-size: 44px;
  }
  .header__wrapper {
    padding: 12px 0;
  }
  .header .phone-item {
    font-size: 20px;
    margin-left: 10px;
  }
  .header__links {
    margin: 0 10px;
  }
  .header-menu__item {
    margin: 0 10px 0;
  }
  .header-menu__item:hover > .inner-menu {
    min-width: 190px;
    padding: 15px 10px;
  }
  .header-menu__item.contains::after {
    top: 43%;
  }
  .header-menu__link {
    padding: 13px 10px;
  }
  .header .btn-modal {
    padding: 10px;
    margin-left: 15px;
    min-width: 150px;
  }
  .top::after {
    top: calc(100% - 11.3vw);
    height: 14vw;
  }
  .top__text {
    padding: 30px 0 100px;
    min-height: 450px;
  }
  .top__title {
    font-size: 52px;
  }
  .inner-menu__link {
    margin-bottom: 2px;
  }
  .main-gallery {
    padding-top: 90px;
  }
  .main-gallery::before {
    height: 14vw;
  }
  .main-gallery__item {
    width: calc(25% - 10px);
  }
  .main-gallery__item:nth-child(1), .main-gallery__item:nth-child(2) {
    width: calc(50% - 10px);
    height: 31vw;
  }
  .main-gallery__item:nth-child(3) {
    width: calc(25% - 10px);
  }
  .logo {
    max-width: 265px;
  }
  .logo__text {
    font-size: 26px;
  }
}

@media (max-width: 790px) {
  .title {
    font-size: 40px;
  }
  .header__wrapper {
    flex-wrap: wrap;
  }
  .header__links {
    order: 3;
    margin: 10px 0 0;
    width: 100%;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
  }
  .header .email-item,
  .header .address-item {
    padding-left: 20px;
  }
  .top__title {
    font-size: 48px;
  }
  .top__descr {
    font-size: 22px;
  }
  .about__text {
    font-size: 18px;
  }
  .categories__wrapper {
    margin: 20px -5px 0px;
  }
  .categories__item {
    width: calc(25% - 10px);
    margin: 0 5px 17px;
  }
  .main-gallery__item {
    width: calc(33.3% - 10px);
  }
  .main-gallery__item:nth-child(3) {
    width: calc(33.3% - 10px);
  }
  .main-form {
    padding: 30px 0 40px;
  }
  .main-form__subtitle {
    margin: 20px 0 25px;
  }
  .popup-header {
    margin-bottom: 20px;
  }
  .popup-header button {
    top: -40px;
    left: auto;
    right: 0;
    width: 35px;
    height: 35px;
  }
  .inner-page__images {
    margin-bottom: 20px;
  }
  .inner-page__images-item {
    max-width: 48%;
    height: 34.8vw;
  }
  .inner-page table td:last-child {
    width: 20%;
  }
  .photo-gallery__item {
    height: 34.5vw;
    width: 49%;
  }
}

@media (max-width: 690px) {
  .title {
    font-size: 36px;
  }
  .top::after {
    top: calc(100% - 13.1vw);
    height: 16vw;
  }
  .top__title {
    font-size: 40px;
  }
  .about {
    padding: 20px 0;
  }
  .about__wrapper {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
  .about__image {
    width: 100%;
    max-width: 510px;
    border: 4px solid #d9d9d9;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .categories__subtitle {
    margin-top: 15px;
    font-size: 18px;
  }
  .categories__item {
    width: calc(33.3% - 10px);
  }
  .main-gallery::before {
    height: 16vw;
  }
  .contacts__wrapper {
    flex-wrap: wrap;
  }
  .contacts__text {
    width: 100%;
    padding-right: 0;
    padding-bottom: 15px;
  }
  .contacts__map {
    width: 100%;
  }
  .logo {
    text-align: center;
  }
  .footer-left {
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 15px;
  }
  .footer-menu {
    width: 100%;
    order: -1;
    margin-bottom: 10px;
  }
  .footer .logo {
    margin-right: 0;
  }
  .photo-album__wrapper {
    margin-top: 20px;
  }
  .photo-album__item {
    width: 49%;
    margin-bottom: 10px;
  }
  .photo-album__image {
    height: 34vw;
  }
}

@media (max-width: 590px) {
  .title {
    font-size: 34px;
  }
  .header-top__wrapper {
    justify-content: space-between;
  }
  .header__wrapper {
    padding: 10px 0;
  }
  .header-menu {
    padding-bottom: 5px;
    padding-top: 5px;
  }
  .header-menu::after {
    height: 30px;
  }
  .header-menu__btn {
    display: block;
  }
  .header-menu__list {
    display: none !important;
  }
  .header .mobile-menu__list {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-y: auto;
  }
  .header .mobile-menu__item {
    text-align: center;
    padding-left: 0;
    margin-bottom: 0;
    margin-left: 0;
  }
  .header .mobile-menu__item:first-child {
    margin-bottom: 0;
  }
  .header .mobile-menu__item::before {
    display: none;
  }
  .popup-dialog h3 {
    font-size: 34px;
  }
  .popup-dialog h3 span {
    line-height: 1.2;
  }
  .popup-content {
    max-width: 99%;
    margin-left: auto;
    margin-right: auto;
    padding: 25px 15px 30px;
  }
  .page {
    padding: 20px 0 25px;
  }
  .top__text {
    min-height: 350px;
  }
  .top__title {
    font-size: 36px;
    margin-bottom: 15px;
  }
  .top__descr {
    font-size: 20px;
  }
  .main-gallery__item {
    width: calc(50% - 10px);
    height: 31vw;
    margin-bottom: 15px;
  }
  .main-gallery__item:nth-child(1), .main-gallery__item:nth-child(2) {
    width: calc(50% - 10px);
  }
  .main-gallery__item:nth-child(3) {
    width: calc(50% - 10px);
  }
  .main-form {
    padding: 20px 0 30px;
  }
  .footer {
    padding-top: 10px;
  }
  .footer-menu__wrapper {
    margin-top: 10px;
  }
  .footer-menu__btn {
    display: block;
  }
  .footer-menu__list {
    display: none !important;
  }
  .footer-top {
    padding-bottom: 20px;
  }
  .inner-page__photo {
    margin-bottom: 20px;
  }
  .inner-page__images {
    margin: 15px 0;
  }
  .inner-page__images-item {
    max-width: 380px;
    height: auto;
    margin: 5px 0;
  }
  .inner-page__text h2 {
    font-size: 28px;
    margin-top: 15px;
  }
  .inner-page__text h3 {
    margin-top: 15px;
    font-size: 22px;
  }
  .inner-page__text p {
    margin-bottom: 12px;
    line-height: 1.3;
  }
  .inner-page__text li {
    line-height: 1.3;
  }
  .content .top__text {
    min-height: 350px;
  }
  .photo-gallery__wrapper {
    margin: 15px 0 0;
    justify-content: center;
  }
  .photo-gallery__item {
    width: 77%;
    height: 49vw;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .photo-gallery__title {
    padding: 15px 5px;
    min-height: 1px;
  }
}

@media (max-width: 520px) {
  .title {
    font-size: 32px;
    line-height: 1.1;
  }
  .main-gallery__wrapper {
    margin: 20px 0 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
  .main-gallery__item {
    width: 100%;
    max-width: 376px;
    height: 270px;
    margin: 0 0 15px;
  }
  .main-gallery__item:nth-child(1), .main-gallery__item:nth-child(2) {
    width: 100%;
    height: 270px;
  }
  .main-gallery__item:nth-child(3) {
    width: 100%;
    height: 270px;
  }
  .contacts__wrapper {
    margin-top: 20px;
  }
  .contacts__link {
    font-size: 18px;
  }
  .contacts .phone-item,
  .contacts .address-item,
  .contacts .email-item {
    font-size: 18px;
  }
  .inner-page__photo {
    margin-bottom: 15px;
  }
  .inner-page__text {
    margin-top: 20px;
  }
  .inner-page__text li:not(:last-child) {
    margin-bottom: 12px;
  }
  .photo-album__wrapper {
    margin-left: 0;
    margin-right: 0;
    justify-content: center;
  }
  .photo-album__item {
    width: 80%;
    margin-left: 0;
    margin-right: 0;
  }
  .photo-album__image {
    height: 54vw;
  }
}

@media (max-width: 490px) {
  .title {
    padding-bottom: 20px;
  }
  .title::after {
    content: '';
    width: 40px;
    height: 16px;
  }
  .header__wrapper {
    justify-content: center;
  }
  .header .phone-item {
    margin: 12px 40px 0;
    order: 2;
    font-size: 18px;
  }
  .header .btn-modal {
    padding: 8px;
    margin-left: auto;
  }
  .top::after {
    top: calc(100% - 15.1vw);
    height: 18vw;
  }
  .top__text {
    padding: 20px 0 80px;
    min-height: 320px;
  }
  .top__title {
    font-size: 34px;
  }
  .top__descr {
    font-size: 18px;
  }
  .categories__item {
    width: calc(50% - 10px);
  }
  .main-gallery::before {
    height: 18vw;
  }
  .popup-header {
    margin-bottom: 15px;
  }
  .content .top__text {
    min-height: 320px;
  }
  .photo-gallery__item {
    width: 100%;
    max-width: 376px;
    height: 270px;
  }
}

@media (max-width: 460px) {
  .title {
    font-size: 28px;
  }
  .main-gallery {
    padding-top: 70px;
  }
  .main-gallery__descr {
    font-size: 18px;
  }
  .main-form::before, .main-form::after {
    display: none;
  }
  .main-form__subtitle {
    margin: 15px 0 20px;
    font-size: 18px;
  }
  .main-form .custom-control-label {
    margin-bottom: 20px;
  }
  .footer {
    padding-bottom: 10px;
  }
}

@media (max-width: 420px) {
  .top__title {
    font-size: 32px;
  }
  .btn-link {
    padding: 8px 10px;
    min-width: 210px;
  }
  .btn-gallery {
    padding: 8px 10px;
    min-width: 210px;
  }
  .btn-contacts {
    padding: 8px 10px;
    min-width: 210px;
  }
  .btn-popup {
    padding: 8px 10px;
  }
  .categories {
    padding: 20px 0 45px;
  }
  .categories__subtitle {
    font-size: 16px;
  }
  .categories__icon {
    width: 110px;
    height: 110px;
  }
  .main-gallery__item {
    height: 65vw;
  }
  .main-gallery__item:nth-child(1), .main-gallery__item:nth-child(2) {
    height: 65vw;
  }
  .main-gallery__item:nth-child(3) {
    height: 65vw;
  }
  .popup-dialog h3 {
    font-size: 30px;
  }
  .popup-content {
    padding: 20px 15px 25px;
  }
  .popup-body .form-control {
    font-size: 14px;
    padding: 10px;
    margin-bottom: 10px;
  }
  .popup-body .form-control::-moz-placeholder {
    font-size: 14px;
  }
  .popup-body .form-control::placeholder {
    font-size: 14px;
  }
  .popup-description {
    font-size: 12px;
  }
  .custom-control-label {
    font-size: 12px;
    margin-bottom: 15px;
  }
  .page {
    padding: 15px 0 20px;
  }
  .form-control {
    font-size: 14px;
    padding: 10px;
    margin-bottom: 12px;
  }
  .form-control::-moz-placeholder {
    font-size: 14px;
  }
  .form-control::placeholder {
    font-size: 14px;
  }
  .form-control--small {
    max-width: 100%;
  }
  .main-form__subtitle {
    margin-bottom: 15px;
  }
  .logo__text {
    font-size: 24px;
  }
  .inner-page {
    padding: 25px 0;
  }
  .inner-page__text h2 {
    font-size: 24px;
  }
  .inner-page__text h3 {
    font-size: 18px;
  }
  .inner-page__text table {
    margin: 15px 0;
  }
  .inner-page__text tr {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .inner-page__text tr:nth-child(even) {
    background-color: #ffffff;
  }
  .inner-page__text td,
  .inner-page__text th {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    padding: 5px 10px;
  }
  .inner-page__text td:first-child,
  .inner-page__text th:first-child {
    padding: 5px 10px;
  }
  .inner-page__text td:last-child,
  .inner-page__text th:last-child {
    padding: 5px 10px;
  }
}

@media (max-width: 390px) {
  .contacts__text-wrapper {
    padding: 15px;
  }
  .contacts__item {
    margin-bottom: 12px;
  }
  .contacts__link {
    font-size: 16px;
  }
  .contacts .phone-item {
    font-size: 16px;
  }
  .contacts .address-item,
  .contacts .email-item {
    font-size: 16px;
  }
  .top::after {
    top: calc(100% - 16.5vw);
    height: 20vw;
  }
  .top__text {
    padding: 20px 0 60px;
    min-height: 290px;
  }
  .top__title {
    font-size: 28px;
  }
  .about__text {
    font-size: 16px;
  }
  .main-gallery::before {
    height: 20vw;
  }
  .inner-page__text {
    font-size: 16px;
  }
  .content .top__text {
    min-height: 290px;
  }
  .photo-gallery__item {
    height: 64vw;
  }
  .photo-album__wrapper {
    margin-top: 15px;
  }
  .photo-album__item {
    width: 281px;
  }
  .photo-album__image {
    height: 204px;
  }
}

@media (max-height: 680px) and (max-width: 490px) {
  .popup-dialog {
    top: 60px;
    transform: translate(-50%, 0) !important;
  }
}

@media (max-height: 760px) and (min-width: 490px) {
  .popup-dialog {
    top: 60px;
    transform: translate(-50%, 0) !important;
  }
}

.show_form_btn {
  border: none;
  box-shadow: none;
}