html {
  min-height: 100vh;
}

html.is-hidden {
  overflow: hidden;
}

body {
  background: #000;
  font-family: 'Montserrat', Arial, Verdana, Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  min-width: 360px;
  color: #fff;
  opacity: 1;
  min-height: 100vh;
}

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

ol, ul {
  list-style: none;
  margin-bottom: 0;
}

input {
  background: none;
  border: 0;
  margin: 0;
  padding: 0;
  outline: none !important;
}

@media not all and (min-resolution: 0.001dpcm) {
  select:focus, textarea:focus, input:focus {
    -webkit-appearance: none;
  }
  select:active, input:active, textarea:active {
    -webkit-appearance: none;
  }
  input, textarea, select {
    -webkit-appearance: none;
  }
  select:focus, textarea:focus, input:focus {
    font-size: 16px;
  }
  select:active, input:active, textarea:active {
    font-size: 16px;
  }
  input, textarea, select {
    font-size: 16px;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

*:last-child {
  margin-bottom: 0;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

img {
  max-width: 100%;
  max-height: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

a:not([class]) {
  color: #897157;
  border-bottom: 1px solid #897157;
  transition: border-bottom-color .3s;
}

a:not([class]):hover {
  border-bottom-color: transparent;
}

::-webkit-contacts-auto-fill-button {
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  right: 0;
}

body a:hover, body a:active, body a:focus {
  text-decoration: none;
  outline: 0;
}

input:focus {
  border: none;
  outline: none;
}

button {
  -webkit-appearance: button;
  cursor: pointer;
}

button:focus {
  outline: none;
}

input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
  background-color: transparent !important;
}

html input[type="button"] {
  -webkit-appearance: button;
  cursor: pointer;
}

input {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

input[type="reset"], input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

input[type="hidden"] {
  display: none;
}

button, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

ul:not([class]) {
  margin: 0 0 1em;
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style-type: disc;
  padding-left: 30px;
}

ol:not([class]) {
  margin: 0 0 1em;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 30px;
  list-style-type: decimal;
}

.main-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 78px;
  font-size: 1.813rem;
  font-family: "Unbounded";
  border: none;
  background-color: #897157;
  border-radius: 14px;
  padding: 0 1em;
  color: #fff;
  text-align: center;
  transition: background-color .3s;
  width: fit-content;
  white-space: nowrap;
}

.main-btn:hover {
  background-color: #ab8459;
}

.main-btn:active {
  box-shadow: inset 1px 2px #695035;
  border-top: 1px solid #695035;
}

.white-btn {
  background: #fff;
  color: #000;
}

h1, .main-title {
  font-size: 3.125rem;
  font-family: "Unbounded";
  font-weight: 600;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 1.2em;
  text-transform: uppercase;
}

h2, .section-title {
  font-size: 2.563rem;
  font-family: "Unbounded";
  font-weight: 600;
  line-height: 1.4;
  margin-top: 0;
  padding-left: 1em;
  margin-bottom: .2em;
}

.section-mod_title {
  font-size: 2.5rem;
  padding-left: 0;
  text-transform: uppercase;
}

.section-large_title {
  font-size: 3.063rem;
  text-transform: uppercase;
}

.white-title {
  color: #fff;
}

.text-left {
  text-align: left;
}

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

.text-right {
  text-align: right;
}

.text-upper {
  text-transform: uppercase;
}

.min {
  display: block;
}

@font-face {
  font-family: "rouble";
  src: url("../fonts/rouble.otf") format("opentype");
}

.rouble {
  font-family: "rouble";
  text-transform: none;
}

@font-face {
  font-family: 'Montserrat';
  src: url("../fonts/Montserrat-Regular/Montserrat-Regular.woff2") format("woff2"), url("../fonts/Montserrat-Regular/Montserrat-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url("../fonts/Montserrat-Bold/Montserrat-Bold.woff2") format("woff2"), url("../fonts/Montserrat-Bold/Montserrat-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Unbounded';
  src: url("../fonts/Unbounded-SemiBold/Unbounded-SemiBold.woff2") format("woff2"), url("../fonts/Unbounded-SemiBold/Unbounded-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Unbounded';
  src: url("../fonts/Unbounded-Regular/Unbounded-Regular.woff2") format("woff2"), url("../fonts/Unbounded-Regular/Unbounded-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1470px;
  width: 100%;
}

.wrapper-loader {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.wrapper-loader.is-fade .logo-loader {
  left: 50%;
  opacity: 1;
}

.wrapper-loader.is-fade .loader-text {
  left: 50%;
  opacity: 1;
}

.logo-loader_content {
  position: relative;
  height: 47px;
  margin-bottom: 1em;
  width: 100%;
}

.logo-loader {
  width: 430px;
  height: 100%;
  background: url(../img/static/logo.svg) no-repeat center top;
  background-size: contain;
  position: absolute;
  left: 0;
  opacity: 0;
  text-align: left;
  transform: translatex(-50%);
  transition: left .4s;
}

.wrapper_loader-text {
  position: relative;
  text-align: right;
  width: 100%;
}

.loader-text {
  display: inline-block;
  position: absolute;
  left: 100%;
  text-align: center;
  font-size: 2rem;
  opacity: 0;
  transform: translatex(-50%);
  white-space: nowrap;
  transition: left .4s;
}

.bg-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.54);
  z-index: 90;
}

/*****HEADER*****/
.ui-header {
  padding: 4em 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 100;
}

.ui-header.is-overflow {
  overflow-y: scroll;
}

.main-head {
  display: flex;
  align-items: center;
  gap: 1.7em;
  justify-content: space-between;
  font-size: 17px;
  font-weight: 600;
  transition: all .2s;
}

.head_left-column {
  display: flex;
  align-items: center;
  gap: 1.6em;
}

.head_right-column {
  display: flex;
  align-items: center;
  gap: 1.2em;
}

.head-logo {
  display: flex;
  align-items: center;
  max-width: 223px;
}

.sliding-panel_header {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  flex: 0 0 auto;
  margin-bottom: 2.5em;
}

.panel_close-btn {
  display: block;
  cursor: pointer;
  position: relative;
  height: 26px;
  width: 26px;
  transform: rotate(45deg);
  top: -1px;
  transition: opacity .3s;
}

.panel_close-btn:hover {
  opacity: .7;
}

.panel_close-btn:after, .panel_close-btn:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  background: #897157;
  transition: background .3s;
}

.panel_close-btn:after {
  width: 100%;
  height: 2px;
}

.panel_close-btn:before {
  height: 100%;
  width: 2px;
}

.head-menu {
  display: flex;
  gap: 1.4em;
}

.head-menu a {
  color: #897157;
  border-bottom: none;
  position: relative;
  padding-bottom: 2px;
}


.head-menu a.white,
.footer-menu a.white {color:#fff;}


.head-menu a.active:after {
  width: 100%;
}

.head-menu a:hover:after {
  width: 100%;
}

.head-menu a:after {
  content: '';
  display: block;
  background: #897157;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 0;
  transition: width .3s;
}


.head-menu a.white:after {
  background: #fff;
}

.head_phone-number {
  font-size: 1.313rem;
  font-family: "Unbounded";
  font-weight: 400;
}

.contact-btns {
  display: flex;
  align-items: center;
  gap: .3em;
}

.contact-btns a {
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  height: 32px;
  width: 32px;
  transition: opacity .3s;
}

.contact-btns a:hover {
  opacity: .8;
}

.whatsapp-btn {
  background: #25D366;
}

.telegram-btn {
  background: #0088CC;
}

.head-burger {
  display: none;
  height: 20px;
  flex: 20px 0 0;
  background: url(../img/icons/burger.svg) no-repeat center;
  background-size: contain;
  cursor: pointer;
  width: 20px;
}

.fixed-menu {
  position: fixed !important;
  top: 0;
  left: 0;
  padding: 2em 0;
  background: #000;
  transform: translate3d(0, -200px, 0);
  width: 100%;
}

.scroll-transform {
  transform: translate3d(0, 0, 0) !important;
  transition: transform .4s;
}

.main-content {
  flex: 1 0  auto;
  font-size: 1.438rem;
  padding-bottom: 3em;
}

.main-section {
  position: relative;
  z-index: 1;
}

.main-section_img {
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}

.main-section_content {
  padding-top: 8.7em;
  padding-bottom: 3.3em;
  display: flex;
  flex-direction: column;
  gap: 1.3em;
}

.main-section_content h1 {
  margin-bottom: 0;
  max-width: 560px;
}

.main-section_content p {
  margin-bottom: 0;
  font-size: 2rem;
  line-height: 1.35;
}

.main-section_logos {
  display: flex;
  gap: 2.5em;
  margin-bottom: .3em;
  align-items:center;
}

.main-section_footer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4em;
}

.main-section_footer .right-column {
  padding-left: 1.7em;
  padding-top: 1em;
}

.main-section_contacts {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
  border-radius: 20px;
  padding: 1.5em 1em;
  display: flex;
  flex-direction: column;
  gap: .3em;
  margin-top: .12em;
  font-size: 1.688rem;
  position: relative;
  min-height: 242px;
}

.main-section_contacts .contact-mod_btns {
  position: absolute;
  left: 1.2em;
  top: -25px;
}

.contact-mod_btns a {
  height: 44px;
  padding: 10px;
  width: 44px;
}

.main_phone-number {
  font-size: 2.125rem;
  font-family: "Unbounded";
  font-weight: 700;
}

/**services-section**/
.services-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2em;
  padding-bottom: 5.3em;
}

.service-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-item .main-btn {
  padding: 0 1.4em;
}

.service-item_img {
  position: relative;
  padding-top: 64%;
  overflow: hidden;
  border-radius: 23px;
}

.service-item_img img {
  position: absolute;
  left: 0;
  height: 100%;
  object-fit: cover;
  width: 100%;
  top: 0;
}

.service-item_desc {
  display: flex;
  flex-direction: column;
  gap: 1em;
  padding: 0 1em;
}

.service-item_desc p {
  margin-bottom: 0.25em;
  font-size: 126%;
}

.service-item_title {
  font-size: 2.188rem;
  font-family: "Unbounded";
  font-weight: 600;
  text-transform: uppercase;
}

.service-item_title a {
  color: inherit;
  border-bottom: none;
  transition: color .3s;
}

.service-item_title a:hover {
  color: #897157;
}

/**ferma_top-content**/
.ferma_top-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8em;
}

.ferma_top-content .section-title {
  line-height: 1.2;
  margin-bottom: .3em;
}

.ferma_top-content img {
  border-radius: 23px;
  width: 100%;
}

.ferma_top-content .right-column {
  display: flex;
  flex-direction: column;
  gap: 1.7em;
}

.ferma_top-content .left-column {
  display: flex;
  flex-direction: column;
}

.ferma_top-content .left-column_content {
  padding-left: 1.5em;
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ferma_top-content .top-img {
  margin-bottom: 1em;
  position: relative;
}

.ferma_top-content .top-img:last-child {
  margin-bottom: 0;
}

.ferma_top-content p {
  padding-right: 5%;
  line-height: 1.25;
}

.ferma-coordinates {
  display: flex;
  gap: 1.8em;
  flex: 0 0 auto;
}

.ferma-coordinates li {
  flex-direction: column;
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.ferma-coordinates .item-digit {
  font-size: 104%;
  font-weight: 600;
  font-family: "Unbounded";
  color: #897157;
  width: 169px;
}

.ferma-adress {
  padding: 0 0 1em;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
}

.ferma-adress .adress-name {
  font-size: 104%;
  font-weight: 600;
  font-family: "Unbounded";
  color: #897157;
  text-transform: uppercase;
}

/**map-section**/
.map-container {
  height: 378px;
  overflow: hidden;
  border-radius: 23px;
  margin-top: 2.5em;
}

#map, #map-2 {
  height: 100%;
}

[class*="ymaps-2"][class*="-ground-pane"] {
  filter: grayscale(1) invert(90%);
}

.map-section_footer {
  display: flex;
  justify-content: space-between;
  font-size: 1.4375rem;
  gap: 1em;
  padding-top: 1em;
  padding-left: 1.5em;
  padding-right: 2.5em;
}

.map-section_footer .ferma-adress {
  padding: 0;
  flex: 1 0 0;
}

/**ferma_middle-content**/
.ferma_middle-content {
  display: flex;
  gap: 2.8em;
  padding: 4em 0 8em;
}

.ferma_middle-content .img-column {
  flex: 1 0 0;
}

.ferma_middle-content .img-column img {
  border-radius: 23px;
  width: 100%;
}

.ferma_middle-content .desc-column {
  flex: 49% 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.ferma_middle-content p {
  padding-right: 15%;
  margin-bottom: 1.6em;
}

.ferma_middle-content .main-btn {
  padding: 0 1.6em;
  height: 56px;
  font-size: 1.5rem;
}

.ferma-mod_middle-content {
  padding: 3em 0;
}

.form-group {
  margin-bottom: .8em;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 4px;
}

.form-control {
  border: 1px solid #4E4E4E;
  height: 69px;
  border-radius: 23px;
  padding: 0 1.5em;
  font-size: 1.625rem;
  resize: none;
  outline: none;
  width: 100%;
  transition: border .3s;
}

.form-control:focus {
  border: 1px solid #4E4E4E;
}

.form-control::-webkit-input-placeholder {
  color: #4E4E4E;
}

.form-control::input-placeholder {
  color: #4E4E4E;
}

.form-control::-moz-input-placeholder {
  color: #4E4E4E;
}

.form-label {
  font-size: 1.125rem;
  padding-left: 1em;
}

.main-color {
  color: #897157;
}

/***modal**/
.fade {
  opacity: 0;
  transition: opacity 0.15s linear;
}

.fade.show {
  opacity: 1;
}

button.close {
  width: 28px;
  height: 28px;
  padding: 0;
  background-color: transparent;
  border: 0;
  -webkit-appearance: none;
  position: absolute;
  top: 1em;
  right: 1em;
  transform: rotate(45deg);
  transition: color .3s;
}

button.close:hover:after, button.close:hover:before {
  background: #CF2F49;
}

button.close:after, button.close:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  background: #897157;
  transition: background .3s;
}

button.close:after {
  width: 100%;
  height: 2px;
}

button.close:before {
  height: 100%;
  width: 2px;
}

.modal-open {
  overflow: hidden;
}

.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  overflow: hidden;
  outline: 0;
}

.modal.fade .modal-dialog {
  transition: all .2s ease;
  opacity: 0;
}

.modal.show .modal-dialog {
  opacity: 1;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 0.5rem;
  pointer-events: none;
  max-width: 600px;
}

.modal-dialog-centered {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  min-height: calc(100% - (0.5rem * 2));
  min-height: calc(100% - (1.75rem * 2));
}

.modal-content {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.1), transparent);
  background: #000;
  background-clip: padding-box;
  padding: 3em 2em;
  border: none;
  border-radius: 20px;
  outline: 0;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  background-color: #404040;
  z-index: 120;
}

.modal-backdrop.fade {
  opacity: 0;
}

.modal-backdrop.show {
  opacity: 0.78;
}

.modal {
  z-index: 130;
}

.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

.modal.show .modal-dialog {
  animation: animModal 300ms;
  animation-fill-mode: forwards;
  transition: all .2s ease;
}

@keyframes animModal {
  0% {
    opacity: 0;
    transform: translate(25px, 10px) scale(0.92) rotateX(15deg);
  }
  100% {
    opacity: 1;
  }
}

@media (min-width: 576px) {
  .modal-dialog {
    margin: 1.75rem auto;
  }
  .modal-dialog-centered {
    min-height: calc(100% - (1.75rem * 2));
  }
}

.popup-form .form-group {
  margin-bottom: 1.2em;
}

.popup-title {
  margin-bottom: 1em;
  padding-left: 0;
  text-align: center;
}

.popup-form_submit-btn {
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.5em;
  height: 56px;
  font-size: 1.5rem;
  min-width: 300px;
}

/**main-footer**/
.main-footer {
  flex: 0 0 auto;
  padding-bottom: 4em;
}

.main-footer .container {
  padding-left: 2.8em;
}

.main-footer_content {
  display: flex;
  gap: 10em;
  padding-top: 1.5em;
}

.main-footer_content .column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px;
}

.main-footer_content .subtitle {
  font-size: 1.438rem;
  margin-bottom: 1.3em;
}

.main-footer_content .text {
  font-size: .875rem;
}

.footer-btns {
  display: flex;
  align-items: center;
  gap: 1em;
}

.footer_phone-number, .footer-email {
  font-size: 1.75rem;
  font-family: "Unbounded";
  font-weight: 600;
}

.footer-email {
  transition: color .3s;
}

.footer-email:hover {
  color: #897157;
}

.scroll-to-top {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ab8459;
  cursor: pointer;
  position: fixed;
  right: 1.5em;
  bottom: 5em;
  opacity: 0;
  transform: scale(0);
  transition: transform 0.4s, opacity 0.6s;
  z-index: 100;
}

.scroll-to-top:after {
  content: "";
  display: block;
  height: 30%;
  width: 30%;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  position: absolute;
  top: 6px;
  bottom: 0;
  left: -1px;
  right: 0;
  margin: auto;
  transform: rotate(-45deg);
}

.scroll-to-top:hover {
  opacity: 0.7;
}

.scroll-to-top-visible {
  transform: scale(1);
  opacity: 1;
}

.scroll-to-top-visible.is-hidden {
  display: none;
}

.error {
  display: block;
  font-size: .875rem;
  color: #ec617a;
}

.input-error {
  border-color: #ec617a !important;
}

.tablet-small_visible {
  display: none;
}

.mobile-visible {
  display: none;
}

.tablet-visible {
  display: none;
}

.mobile-btn {
  display: none;
}




/* убираем белую обводку у карт яндекса */
.ymaps-2-1-79-map-bg {background:none!important;}


/* custom */
.mini-footer .main-mini-footer_content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.3em;
  padding-left: 2em;
  padding-right: 9%;
}
.mini-footer .main-mini-footer_content .contact-item {
    display: flex;
    flex-direction: column;
    gap: .7em;
}
.mini-footer .main-mini-footer_content .contact-item .footer-menu {
    display: flex;
    gap: 3em;
    font-size: 17px;
    font-weight: 600;
}
.mini-footer .main-mini-footer_content .contact-item .footer-menu a:hover:after {
  width: 100%;
}
.mini-footer .main-mini-footer_content .contact-item .footer-menu a:after {
    content: '';
    display: block;
    background: #897157;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    width: 0;
    transition: width .3s;
}

.mini-footer {background:#111111}
.mini-footer .main-mini-footer_content.main-footer_content_links {margin-top: .8em; margin-bottom: .8em;}
.mini-footer .main-mini-footer_content.main-footer_content_links .footer-menu a {color:#fff; font-weight:300; font-size:12px; border-bottom: none;}






@media only screen and (max-width: 1899px) {
  .main-section_content {
    padding-top: 8em;
  }
  .main-content {
    font-size: 1.25rem;
  }
  h1, .main-title {
    font-size: 2.7rem;
  }
  .main-section_content p {
    font-size: 1.5rem;
  }
  .main-section_logos img {
    max-height: 80px;
  }
  .main-section_contacts {
    font-size: 1.4rem;
  }
  .main_phone-number {
    font-size: 1.9rem;
  }
  .service-item_title {
    font-size: 1.9rem;
  }
  .main-footer_content .subtitle {
    font-size: 1.35rem;
  }
  .footer_phone-number, .footer-email {
    font-size: 1.6rem;
  }
}

@media only screen and (max-width: 1559px) {
  .container {
    max-width: 1270px;
  }
  .head-logo {
    max-width: 200px;
  }
  .main-content {
    font-size: 1.125rem;
  }
  h1, .main-title {
    font-size: 2.3rem;
  }
  h2, .section-title {
    font-size: 2rem;
  }
  .main-section_logos img {
    max-height: 60px;
  }
  .main-section p {
    font-size: 1.25rem;
  }
  .main-section h1 {
    max-width: 415px;
  }
  .main-section_content {
    padding-top: 7em;
    gap: 1em;
  }
  .head_phone-number {
    font-size: 1.25rem;
  }
  .main-btn {
    height: 50px;
    font-size: 1.25rem;
  }
  .form-control {
    height: 55px;
    border-radius: 17px;
    padding: 0 1em;
    font-size: 1.3rem;
  }
  .form-label {
    font-size: .935rem;
  }
  .ui-header {
    padding: 1.7em 0;
  }
  .fixed-menu {
    padding: 1em 0;
  }
  .main_phone-number {
    font-size: 1.5rem;
  }
  .map-section_footer {
    font-size: 1.125rem;
  }
  .contact-mod_btns a {
    height: 38px;
    width: 38px;
  }
  .main-section_contacts .contact-mod_btns {
    top: -18px;
  }
  .main-section_contacts {
    font-size: 1.125rem;
    margin-top: -1em;
  }
  .service-item_title {
    font-size: 1.6rem;
  }
  .ferma_middle-content .section-title {
    padding-right: 10%;
  }
  .ferma_middle-content .main-btn {
    height: 50px;
    font-size: 1.25rem;
  }
  .main-footer_content .subtitle {
    font-size: 1.125rem;
  }
  .footer_phone-number, .footer-email {
    font-size: 1.35rem;
  }
  .main-footer_content .text {
    font-size: .75rem;
  }
  .ferma_middle-content {
    padding-bottom: 6em;
  }
  .ferma-mod_middle-content {
    padding-bottom: 3em;
  }
}

@media only screen and (max-width: 1199px) {
  .main-content {
    font-size: .935rem;
  }
  h1, .main-title {
    font-size: 2rem;
  }
  h2, .section-title {
    font-size: 1.65rem;
  }
  .section-large_title {
    font-size: 1.9rem;
  }
  .head_left-column {
    gap: 1.5em;
  }
  .head-menu {
    gap: 1.5em;
  }
  .head_phone-number {
    font-size: 1rem;
  }
  .main-section_contacts {
    min-height: 170px;
  }
  .main-section p {
    font-size: 1.125rem;
  }
  .main_phone-number {
    font-size: 1.25rem;
  }
  .main-section_contacts {
    font-size: .935rem;
    margin-top: 0;
    padding-top: 2em;
  }
  .service-item_title {
    font-size: 1.35rem;
  }
  .map-section_footer {
    font-size: 1rem;
  }
  .main-footer_content .subtitle {
    margin-bottom: .6em;
  }
  .main-footer {
    padding-bottom: 2em;
  }
  .main-footer_content {
    gap: 5em;
  }
  .ferma-coordinates .item-digit {
    width: 113px;
  }
}

@media only screen and (max-width: 1024px) {
  .tablet-visible {
    display: block;
  }
  .tablet-hidden {
    display: none !important;
  }
  .head-burger {
    display: block;
  }
  .head-nav {
    position: fixed;
    bottom: 0;
    left: -401px;
    top: 0;
    background: rgba(64, 64, 64, 0.78);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    padding: 2em;
    display: flex;
    flex-direction: column;
    max-width: 400px;
    height: 100vh;
    width: 100%;
    transition: left .3s;
    z-index: 110;
  }
  .head-nav.is-open {
    left: 0;
  }
  .head-menu {
    flex-direction: column;
  }
  .sliding-panel_header {
    display: flex;
  }
  .head_left-column {
    flex: 1 0 0;
  }
  .ui-header {
    padding: 1.2em 0;
  }
  .service-item_img {
    border-radius: 17px;
  }
  .ferma_top-content img {
    border-radius: 17px;
  }
  .map-container {
    border-radius: 17px;
  }
  .ferma_middle-content .img-column img {
    border-radius: 17px;
  }
  .map-section_footer {
    font-size: .935rem;
    padding: 1em;
  }
  .main-btn {
    height: 45px;
    font-size: 1rem;
    border-radius: 10px;
  }
  .ferma_middle-content .main-btn {
    height: 45px;
    font-size: 1rem;
    padding: 0 1.2em;
  }
  .main-footer_content {
    gap: 2em;
    justify-content: space-between;
  }
  .main-footer .container {
    padding-left: 15px;
  }
}

@media only screen and (max-width: 767px) {
  .tablet-small_visible {
    display: block;
  }
  .tablet-small_hidden {
    display: none !important;
  }
  .logo-loader_content {
    height: 30px;
  }
  .loader-text {
    font-size: 1rem;
  }
  .logo-loader {
    width: 230px;
  }
  .main-section_img {
    max-width: 70%;
  }
  .main-content p {
    line-height: 1.5;
  }
  .head_phone-number {
    font-size: .875rem;
  }
  .logo-panel {
    max-width: 170px;
  }
  .form-control {
    font-size: 1rem;
  }
  .services-section {
    display: flex;
    flex-direction: column;
    gap: 2.7em;
  }
  .ferma_top-content {
    flex-direction: column;
    display: flex;
    gap: 1em;
  }
  .ferma_middle-content {
    display: flex;
    flex-direction: column;
    gap: 1em;
  }
  .main-footer_content {
    flex-direction: column;
  }
  .main-section p {
    font-size: 1rem;
  }
  .main-section_footer {
    flex-direction: column;
    display: flex;
    gap: 1em;
  }
  .main-section_footer .right-column {
    padding-left: 0;
  }
}

@media only screen and (max-width: 600px) {
  .mobile-visible {
    display: block;
  }
  .mobile-hidden {
    display: none !important;
  }
  .scroll-to-top {
    opacity: .7;
    border-radius: 100%;
    width: 26px;
    height: 26px;
    right: 18px;
    bottom: 9em;
    left: auto;
  }
  .scroll-to-top:before {
    content: '';
    display: block;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    border-radius: 50%;
    border: 2px solid #ab8459;
    position: absolute;
    top: -7px;
    left: -7px;
    z-index: -1;
  }
  .scroll-to-top:after {
    left: 0;
    top: 2px;
  }
  .head-logo {
    max-width: 160px;
  }
  .ui-header {
    padding: 1.5em 0;
  }
  h1, .main-title {
    font-size: 1.375rem;
  }
  h2, .section-title {
    font-size: 1.375rem;
  }
  .main-btn {
    font-size: .935rem;
    border-radius: 6px;
  }
  .main-section_logos img {
    max-height: 40px;
  }
  .main-section_contacts {
    min-height: auto;
  }
  .form-label {
    padding-left: 0;
  }
  .form-control {
    height: 45px;
    border-radius: 6px;
  }
  .form-group {
    margin-bottom: 1.5em;
  }
  .head-nav {
    max-width: 300px;
    padding: 1.9em;
  }
  .sliding-panel_title {
    font-size: 1.375rem;
  }
  .min {
    display: inline;
  }
  .head_phone-number {
    font-size: .65rem;
  }
  .contact-btns a {
    height: 22px;
    padding: .35em;
    width: 22px;
  }
  .contact-mod_btns a {
    height: 30px;
    padding: 7px;
    width: 30px;
  }
  .main-section_contacts .contact-mod_btns {
    top: -15px;
  }
  .head_right-column {
    gap: .6em;
  }
  .main-content {
    padding-bottom: 2em;
  }
  .main-section_contacts {
    border-radius: 6px;
  }
  .service-item_img {
    border-radius: 6px;
  }
  .service-item_desc {
    gap: .5em;
  }
  .ferma_top-content img {
    border-radius: 6px;
  }
  .ferma_top-content .left-column_content {
    padding-left: .5em;
  }
  .map-container {
    border-radius: 6px;
    height: 300px;
  }
  .ferma_middle-content {
    padding: 3em 0;
  }
  .footer_phone-number, .footer-email {
    font-size: 1.25rem;
  }
  .services-section {
    padding-bottom: 3em;
  }
  .modal-content {
    padding-left: 1em;
    padding-right: 1em;
    border-radius: 12px;
  }
  .popup-form_submit-btn {
    min-width: auto;
    width: 100%;
  }
  .main-section h1 {
    max-width: 315px;
  }
}
