body {
  height: 100%;
  margin: 0;
  font-family: var(--font-family);
  background-color: var(--backgrond-body);
  line-height: 1.3;
}

#page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#main {
  flex: 1;
  padding-top: 59px;
}
.not-front #main::after {
  content: "";
  inset: 0;
  position: absolute;
  background-color: #fff;
  z-index: -5;
}
.not-front #main {
  position: relative;
}
.not-front .block-title {
  margin-bottom: 1.5rem;
}
.not-front .wr_content {
  margin-bottom: 2.5rem;
}

.ui-dialog {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  max-width: calc(100% - 20px);
  max-height: calc(100% - 20px);
}
img {
  max-width: 100%;
  height: auto;
}
/*HEADER STYLES*/
.header-container {
  display: flex;
}
.header-top .contacts__detail--address {
  display: none;
}
.header-top .contacts {
  flex: 1;
  max-width: 500px;
}
.header-top .col-contacts {
  display: flex;
  gap: 55px;
}
.header-top {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  gap: 55px;
}
.header-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 7px;
}

.header .messengers {
  gap: 10px;
}
.header .btn-primary {
  padding: 14px 27px;
}
.header-container {
  padding-top: 7px;
}
.header-right {
  flex: 1;
}
.wr_content .node--type-about > * {
  width: 100%;
}
.wr_content .node--type-about .field--name-body {
  width: 100%;
  color: var(--color-black);
}
.header .custom-list a:hover {
  opacity: 0.75;
}
.header .custom-list a {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-brown-h);
  display: flex;
  align-items: center;
  gap: 4px;
}
.header .custom-list {
  flex-shrink: 0;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-brown-h);
  display: flex;
}
.header .contacts__item:first-child {
  margin-right: 55px;
}
.header-down {
  align-items: flex-start;
  display: flex;
  justify-content: flex-end;
  padding-top: 7px;
}

.header .nav-link:hover {
  color: #fff;
  background-color: var(--color-brown-h);
}

.header .nav > .nav-item:not(:last-child) {
  margin-right: 19px;
}
.header .nav {
  justify-content: center;
  row-gap: 5px;

  margin-right: 19px;
  margin-left: -25px;
}
.header .nav-link.active {
  padding: 10px 24px;
}
.header .nav > .nav-item {
  padding-bottom: 7px;
}
.header .nav-link {
  /* border: 2px solid white; */
  display: inline-block;
  padding: 10px 32px;
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  color: var(--color-brown-h);
  background-color: white;
  border-radius: 12px;
  transition: all 0.3s ease;
}
/*SEARCH*/
.header .col-search.active .btn-search {
  padding: 0;
  opacity: 0;
  width: 0;
}
.btn-search {
  padding: 8px 28px;
  border-radius: 12px;
  background-color: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
}
.header form .form-control:focus {
  box-shadow: none;
}
.header form .form-control {
  padding: 8px 20px;
  padding-right: 36px;
  background-color: #fff;
  line-height: 100%;
}
.header .col-search.active .region-search {
  opacity: 1;
  visibility: visible;
  width: 136px;
  height: fit-content;
  transform: translateX(0);
}
.header .col-search {
  display: flex;
  align-items: center;
}
.header .region-search {
  opacity: 0;
  height: 0;
  visibility: hidden;
  width: 0;
  overflow: hidden;
  transform: translateX(15px);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}
/*SEARCH*/
.contacts__item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header-left img:hover {
  opacity: 0.75;
}
.header-left img {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  width: 148px;
  height: 148px;
  object-fit: cover;
  object-position: top;
  z-index: 4;
  transition: opacity 0.3s;
}
.header-left {
  overflow: visible;
}
.header-left::before {
  content: "";
  position: absolute;
  background: url("/sites/all/themes/vesta_theme/image/logo-el.svg") no-repeat
    bottom;
  width: 100%;
  height: 60px;
  z-index: 2;
  bottom: -59px;
}
.header-left {
  position: relative;
  flex-shrink: 0;
  width: 254px;
}
#footer .ajax-progress,
#header .ajax-progress {
  display: none;
}

#footer a:hover {
  color: #9d8066;
}
#footer a {
  color: #fff;
}

#footer .col-logo img {
  width: 190px;
}
#footer {
  background-color: var(--color-brown-h);
  color: #fff;
  font-size: 17px;
  padding-top: 77px;
  line-height: 1.3;
  padding-bottom: 47px;
}

#footer ul.nav {
  flex-direction: column;
}
#footer ul.nav a {
  font-weight: 500;
  font-size: 17px;
  color: #fff;
}
#footer ul.nav a:not(:last-child) {
  padding-bottom: 15px;
}

#footer .contacts {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 26px;
}
#footer .messengers {
  display: flex;
  gap: 12px;
}
#footer .col-contacts {
  max-width: 268px;
}

#footer .row > * {
  width: fit-content;
}

#footer .contacts__detail--phone .contacts__text {
  font-weight: 600;
}
#footer .contacts__item .contacts__detail svg {
  flex-shrink: 0;
}
#footer .dropdown-toggle::after {
  display: none;
}
.row-copiryght {
  align-items: flex-end;
  gap: 16px;
}

#footer .nav-link:hover {
  color: #9d8066;
}
#footer .messenger-icon {
  width: 38px;
  height: 38px;
}

#footer .contacts__item .contacts__detail {
  display: flex;
  align-items: center;
  gap: 9px;
}
#footer .col-logo {
  display: flex;
  height: auto;
  flex-direction: column;
  max-width: 214px;
}
#footer .col-services {
  max-width: 330px;
}
#footer .col-services .views-row:not(:last-child) {
  margin-bottom: 15px;
}
#footer .top-row {
  padding-bottom: 56px;
  position: relative;
  align-items: stretch;
  justify-content: space-between;
  row-gap: 1.5rem;
}

.toolbar .toolbar-tab .toolbar-icon {
  padding: 0.75em 1.5em 0.75em 2.5em;
}
.path-admin .messages--error {
  display: none;
}
#footer .col-webvesta a {
  color: #9d8066;
}
#footer .custom-list a:hover svg {
  opacity: 0.7;
}
#footer .col-logo a:hover {
  opacity: 0.7;
}
/* *** contextual-region *** */
.contextual-region .contextual {
  display: none;
  top: -8px;
  right: 8px;
}

.contextual-region .contextual-region .contextual {
  top: 8px;
}

.contextual-region:hover .contextual {
  display: block;
}

.contextual-region .contextual .trigger {
  width: 22px !important;
  height: 22px !important;
  background-size: 14px 14px;
}

.cart-block--summary .cart-block--summary__count {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  background: #ccc;
  color: #fff;
  top: -3px;
  right: -9px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 500;
}

#header-mob .contacts__item--mail,
#header-mob .contacts__detail--address {
  display: none;
}
#header-mob .col-logo img {
  width: 80px;
}
#header-mob {
  top: 0;
  width: 100%;
  background: var(--color-brown-h);
  color: #fff;
  padding: 5px 5px;
  z-index: 50;
}

#header-mob.toolbar-horizontal #header-mob {
  top: 0;
}

#header-mob .contacts__detail--phone svg {
  fill: #fff;
}
#header-mob .contacts__detail--phone {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
}

#header-mob .col-contacts {
  margin-left: auto;
}

#header-mob > * {
  padding: 0 10px;
}

#header-mob > * {
  padding: 0 10px;
}
.btn-close {
  --bs-btn-close-bg: url("/sites/all/themes/vesta_theme/image/btn-close.svg");
}
.header .nav-item.dropdown .dropdown-toggle.active::after {
  right: 13px;
}
.nav .nav-item.dropdown .dropdown-toggle::after {
  position: absolute;
  border: none;
  top: calc(50% - 3px);
  right: 21px;
  transform: translateY(-50%);
  width: 8px;
  height: 6px;
  background: url("/sites/all/themes/vesta_theme/image/dropdown-mud.svg") center
    center no-repeat;
  background-size: contain;
  content: "";
  transition: all 0.4s ease;
}
.header .nav .nav-item.dropdown:hover .dropdown-toggle {
  background-color: var(--color-brown-h);
  color: white;
}
.header .nav .nav-item.dropdown:hover .dropdown-toggle::after {
  background: url("/sites/all/themes/vesta_theme/image/dropdown-white.svg")
    no-repeat center;
}

#header-mob a {
  color: #000;
}
.offcanvas .dropdown-item {
  color: #fff;
}
.dropdown-item {
  display: block;
  white-space: wrap;
  max-width: 500px;
  padding: 5px 20px;
  font-size: 14px;
  transition: all 0.3s;
}
#offcanvasNav .nav .dropdown-menu {
  display: none;
  position: static;
  border: 0px solid;
  background: transparent;
  padding: 7px 0;
}
.offcanvas .offcanvas-body .region-search {
  margin-bottom: 15px;
}
.offcanvas .nav-item.dropdown .dropdown-toggle::after {
  background: url("/sites/all/themes/vesta_theme/image/dropdown-white.svg")
    no-repeat center;
}
.offcanvas {
  --bs-offcanvas-bg: var(--color-brown-h);
}
.offcanvas-header {
  display: flex;
  align-items: center;
  padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);
}

.offcanvas .offcanvas-body {
  display: flex;
  flex-direction: column;
  padding-top: 6px;
}

.offcanvas .offcanvas-title {
  color: #000;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 500;
}

.offcanvas .offcanvas-body .nav-link {
  width: fit-content;
  position: relative;
  line-height: 1.3;
  display: block;
  padding: 8px;
  font-weight: 500;
  font-size: 15px;
  color: #fff;
}

.dropdown-item {
  display: block;
  white-space: wrap;
  max-width: 500px;
  padding: 5px 20px;
  font-size: 14px;
  transition: all 0.3s;
  line-height: 136%;
}
.offcanvas .offcanvas-body .region-navigation {
  margin-bottom: 20px;
}
.offcanvas .logo img {
  width: 110px;
}
.offcanvas .custom-list,
.offcanvas .custom-list a {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}
.offcanvas .col-contacts {
  margin-top: auto;
}
.offcanvas .messengers {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}
.offcanvas .contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.offcanvas .custom-list svg {
  fill: #fff;
  width: 21px;
  height: 21px;
}
.offcanvas .messenger-icon {
  width: 45px;
  height: 45px;
}

.header .region-navigation .nav > .nav-item:hover .dropdown-menu {
  width: 315px;
}
.region-navigation .nav > .nav-item:hover .dropdown-menu {
  border-radius: 12px;
  display: block;
  top: 100%;
  left: 0;
}

/*HEADER STYLES*/
/*SERVICES STYLES*/
.body-styles {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.6;
}
.body-styles h1,
.body-styles h2,
.body-styles h3,
.body-styles h4 {
  color: #222222;
  font-weight: 700;
  line-height: 1.25; /* У заголовков строка должна быть плотнее, чем у текста */
  /* Отступ сверху больше, чтобы отделить от предыдущего абзаца, снизу меньше — чтобы быть ближе к своему тексту */
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}

.body-styles h1 {
  font-size: 2.5em;
} /* ~40px */
.body-styles h2 {
  font-size: 2em;
} /* ~32px */
.body-styles h3 {
  font-size: 1.5em;
} /* ~24px */
.body-styles h4 {
  font-size: 1.25em;
} /* ~20px */

/* ==========================================================================
   Обычный текст и абзацы
   ========================================================================== */
.body-styles p {
  font-size: 1em; /* Наследует 1rem от родителя */
  margin-top: 0;
  margin-bottom: 1.25em; /* Стандартный "золотой" отступ между абзацами */
}

/* ==========================================================================
   Списки (Учитываем отступы маркеров)
   ========================================================================== */
.body-styles ul,
.body-styles ol {
  margin-top: 0;
  margin-bottom: 1.25em;
  padding-left: 1.5em; /* Отступ слева для маркеров/цифр */
}

.body-styles li {
  margin-bottom: 0.5em; /* Небольшое расстояние между пунктами списка */
}

.body-styles li > ul,
.body-styles li > ol {
  margin-top: 0.5em; /* Если внутри списка есть вложенный список */
  margin-bottom: 0;
}

/* ==========================================================================
   Цитаты (Blockquote) — часто бывают в статьях
   ========================================================================== */
.body-styles blockquote {
  margin: 0;
  padding: 0.8em 1.2em;
  border-left: 4px solid #caab73; /* Цвет вашей темы (например, золото/коричневый) */
  background-color: #f9f9f9;
  font-style: italic;
}

.body-styles blockquote p {
  margin-bottom: 0; /* Чтобы маргины абзаца внутри цитаты её не ломали */
}
.body-styles > *:first-child {
  margin-top: 0;
}
.body-styles > *:last-child {
  margin-bottom: 0;
}
.wr_content .contacts a {
  color: var(--color-black);
}
.wr_content .contacts__detail--address svg path {
  stroke: var(--color-brown-h);
}
.wr_content .contacts svg {
  overflow: visible;
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-right: 7px;
}
.wr_content .contacts {
  font-weight: 700;
  font-size: 17px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: var(--color-black);
  margin-bottom: 15px;
}
.wr_content .messenger-icon {
  width: 45px;
  height: 45px;
}
.wr_content .messengers {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}
.body-node--800 .right {
  padding: 0;
}
.node--type-usluga.node--view-mode-full
  .field--name-field-izobrazhenie-uslugi
  img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}
.node--type-usluga.node--view-mode-full .field--name-field-izobrazhenie-uslugi {
  float: left;
  width: 40%;
  margin-right: 2rem;
  margin-bottom: 0.4rem;
}

.region-benefits .block-block-content h2,
.region-gallery .block-block-content h2,
.region-services .block-block-content h2 {
  white-space: nowrap;
  flex-shrink: 0;
}
.region-benefits .field--name-body,
.region-gallery .field--name-body,
.region-services .field--name-body {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 17px;
}
.region-benefits .field--name-body {
  max-width: 605px;
}
.region-gallery .block-content::after {
  display: none;
}
.region-benefits .block-block-content,
.region-gallery .block-content,
.region-services .block-block-content {
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.view-uslugi img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  transition: transform 0.3s;
}

.view-uslugi .node--type-usluga::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    -44deg,
    rgb(3 2 7 / 68%) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: -2;
}
.view-uslugi .field--name-node-link {
  margin-top: 0;
  opacity: 0;
  height: auto;
  max-height: 0;
  overflow: hidden;
  transform: translateY(20px);
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease,
    margin-top 0.3s ease;
}
.view-uslugi .node--type-usluga::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: background-color 0.3s ease;
}
.view-uslugi .node--type-usluga:hover .field--name-field-zagolovok-uslugi {
  min-height: auto;
}
.view-uslugi .node--type-usluga:hover .field--name-node-link {
  margin-top: 12px;
  opacity: 1;
  max-height: 100px;
  transform: translateY(0);
  position: relative;
  z-index: 4;
  width: fit-content;
}
.view-uslugi .node--type-usluga:hover img {
  transform: scale(1.05);
}
.view-uslugi .node--type-usluga:hover::after {
  background: rgba(172, 121, 66, 0.38);
}
.view-uslugi .btn-second:hover {
  background: var(--color-brown-h);
}
.view-uslugi .field--name-node-title {
  height: 0;
}
.view-uslugi .field--name-node-title a {
  font-size: 0;
  color: transparent;
  background-color: transparent;
  height: 0;
  width: 0;
  padding: 0;
}
.view-uslugi .field--name-node-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}
.view-uslugi .node--type-usluga {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 33px 15px;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  height: 350px;
}
#main .view-uslugi .view-content > * {
  width: 25%;
  padding: 0 7px;
}

#main .view-uslugi .view-content {
  display: flex;
  flex-wrap: wrap;
  row-gap: 1rem;
  align-items: stretch;
  margin: 0 -7px;
}
.view-uslugi .field--name-field-zagolovok-uslugi:hover {
  color: #ccc;
}
.view-uslugi .field--name-field-zagolovok-uslugi {
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  transition: all 0.3s;
  min-height: 64px;
  position: relative;
  z-index: 4;
  cursor: pointer;
}
.more-link a {
  margin: auto;
  margin-top: 29px;
}
/*SERVICES STYLES*/

/* SLICK STYLES */
.region-slider .view-content:not(.slick-initialized) .views-row {
  display: none;
}

.region-slider .view-content:not(.slick-initialized) .views-row:first-child {
  display: block;
}

div#slider-block
  .view.view-slayder.view-id-slayder
  .view-content
  .node--type-slide
  .content {
  position: absolute;
  top: 0;
  bottom: calc(1vw + 12px);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.slick-prev,
.slick-next {
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: calc(50% - 10px);
  display: block;
  width: 20px;
  height: 20px;
  padding: 0;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  cursor: pointer;
  color: transparent;
  border: none;
  outline: none;
  background: transparent;
}

button.slick-prev.slick-arrow {
  left: 25px;
}

button.slick-next.slick-arrow {
  right: 25px;
}

ul.slick-dots {
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 10px 0;
}

ul.slick-dots li button {
  background: #686868;
  border-radius: 50%;
  border: none;
  padding: 0;
  width: 10px;
  font-size: 0;
  height: 10px;
  display: block;
}

ul.slick-dots li button::before {
  display: none;
}

ul.slick-dots li.slick-active button {
  background: #272727;
}

button.slick-arrow {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

button.slick-arrow::before {
  content: "";
  display: block;
  position: relative;
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  font-size: 0;
}

button.slick-prev.slick-arrow::before {
  background-image: url("/sites/all/themes/vesta_theme/image/arrow-top.svg");
  transform: rotate(-90deg);
}

button.slick-next.slick-arrow::before {
  background-image: url("/sites/all/themes/vesta_theme/image/arrow-top.svg");
  transform: rotate(90deg);
}

#scrollToTop {
  width: 48px;
  height: 48px;
  background: none;
  text-indent: 0;
  font-size: 0;
  border: 0px;
  outline: 0px;
  display: flex;
  bottom: 120px;
  cursor: pointer;
  position: fixed;
  right: 75px;
  z-index: 10;
  transition: 0.2s;
  padding: 0;
}

/* SLICK STYLES */

/* PRODUCT PAGE STYLES*/
.product-teaser {
  display: flex;
  gap: 50px;
}

.product-teaser .product-teaser-image {
  max-width: 500px;
}

.product-teaser
  .product-teaser-image
  .field.field--name-field-variation-image.field--type-image
  .elements
  .current-slide.slick-initialized.slick-slider {
  margin: 0 0 10px;
}

.product-teaser
  .product-teaser-image
  .field.field--name-field-variation-image.field--type-image
  .elements
  .current-slide.slick-initialized.slick-slider
  .slick-list.draggable
  .slick-track
  .element.slick-slide
  img {
  max-width: 500px;
  min-width: 500px;
  max-height: 500px;
  min-height: 500px;
  object-fit: cover;
}

.product-teaser
  .product-teaser-image
  .field.field--name-field-variation-image.field--type-image
  .elements
  .nav-slide.slick-initialized.slick-slider
  .slick-list.draggable {
  margin: 0 -5px;
}

.product-teaser
  .product-teaser-image
  .field.field--name-field-variation-image.field--type-image
  .elements
  .nav-slide.slick-initialized.slick-slider
  .slick-list.draggable
  .slick-track
  .element.slick-slide {
  margin: 0 5px;
  max-width: 118px;
  min-width: 118px;
  max-height: 118px;
  min-height: 118px;
}

.product-teaser
  .product-teaser-image
  .field.field--name-field-variation-image.field--type-image
  .elements
  .nav-slide.slick-initialized.slick-slider
  .slick-list.draggable
  .slick-track
  .element.slick-slide
  img {
  max-width: 118px;
  min-width: 118px;
  max-height: 118px;
  min-height: 118px;
  object-fit: cover;
}

.product-teaser .product-teaser-info {
  max-width: 500px;
}

.product-view-full button.slick-prev.slick-arrow {
  left: -25px;
}

.product-view-full button.slick-next.slick-arrow {
  right: -25px;
}

.node--view-mode-full .field--name-body img {
  margin: 0 10px;
}
.banner .contextual-region {
  position: static;
}
.banner.section {
  margin-top: -59px;
}
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    44deg,
    rgb(3 2 7 / 68%) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: -1;
}
.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.banner h1 {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 69px;
  line-height: 94%;
  color: #fff;
  max-width: 892px;
  margin-bottom: 35px;
}
.banner {
  position: relative;
  min-height: 700px;
  padding: 85px 0;
  display: flex;
  align-items: flex-end;
}
/* PRODUCT PAGE STYLES*/
/* ABOUT STYLES*/
.node--type-about .left {
  position: relative;
}
.about {
  overflow-x: hidden;
}
.node--type-about .left img {
  object-position: left;
  max-width: initial;
  position: absolute;
  inset: 0;
  left: calc(-100vw / 2 + 100%);
  width: calc(100vw / 2);
  height: 100%;

  object-fit: cover;
}
.node--type-about .right:after {
  content: "";
  position: absolute;
  inset: 0;
  object-position: 130px 0;
  width: 1070px;
  background: url("/sites/all/themes/vesta_theme/image/fon.svg") no-repeat 130px
    bottom;
  z-index: -1;
}
.node--type-about .right:before {
  content: "";
  position: absolute;
  inset: 0;
  right: calc(-100vw / 2 + 100%);
  width: calc(100vw / 2);
  background: linear-gradient(27deg, #4e351e 0%, #6b4727 100%);
  z-index: -2;
}
.node--type-about .right p:not(:last-child) {
  margin-bottom: 25px;
}
.node--type-about .right {
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
  color: #fff;
  padding: 47px 0 82px 62px;
}
.node--type-about > * {
  width: 50%;
  flex: 0 0 auto;
}
.node--type-about .field--name-body {
  font-weight: 400;
  font-size: 16px;
  color: #fff;
}
.node--type-about {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  row-gap: 1.5rem;
}

/* ABOUT STYLES*/
/* GALLERY STYLES*/
.view-photogalereya img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}
.view-photogalereya .field--name-field-foto-material a::after {
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(
    0deg,
    rgba(3, 2, 7, 0.46) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  content: "";
  position: absolute;
  inset: 0;
}
.view-photogalereya .field--name-field-foto-material a:hover img {
  transform: scale(1.05);
}
.view-photogalereya .field--name-field-foto-material a:hover::after {
  opacity: 1;
}
.view-photogalereya .field--name-field-foto-material a {
  height: 100%;
  width: 100%;
  position: relative;
  display: block;
  border-radius: 15px;
  overflow: hidden;
}
.view-photogalereya .field--name-field-foto-material > * {
  width: calc(100% / 3);
  flex: 0 0 auto;
  padding: 0 10px;
}
.view-photogalereya .field--name-field-foto-material {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
  row-gap: 20px;
}
/* GALLERY STYLES*/
/* CALLBACK BLOCK STYLES*/
.callback_block .block-block-content {
  position: static;
}
.callback_block .field--name-field-fon img {
  position: absolute;
  inset: 0;
  object-position: top;
  object-fit: cover;
  width: 100vw;
  height: 100%;
  z-index: -2;
  filter: blur(1px);
}
.callback_block::after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(
    44deg,
    rgb(3 2 7 / 68%) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: -1;
}
.callback_block .field--name-body {
  line-height: 1.4;
  margin-top: 18px;
  max-width: 500px;
  margin-bottom: 34px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 17px;
}
.callback_block .messenger-icon:hover {
  opacity: 0.7;
}
.callback_block .messenger-icon {
  width: 43px;
  height: 43px;
  transition: opacity 0.3s;
}
.callback_block .messengers {
  display: flex;
  gap: 14px;
}
.callback_block .contacts a:hover {
  opacity: 0.8;
}
.callback_block .contacts a {
  font-weight: 700;
  font-size: 19px;
  text-transform: uppercase;
  color: var(--color-brown);
}
.callback_block .contacts_container {
  display: flex;
  align-items: center;
  gap: 23px;
}
.callback_block .block-title {
  color: #fff;
}
.callback_container .left {
  padding-right: 20px;
}
.callback_container > * {
  width: 50%;
  flex: 0 0 auto;
}
.callback_container {
  display: flex;
  flex-wrap: wrap;
  row-gap: 1.5rem;
  align-items: stretch;
}
.callback_block .btn-primary {
  margin: auto;
}
.callback_block {
  padding: 120px 0;
  position: relative;
  color: #fff;
}
.callback_block form .form-control::placeholder,
.callback_block form .form-number::placeholder {
  color: #fff;
  font-size: 15px;
}
.callback_block form .form-control:focus,
.callback_block form .form-number:focus {
  box-shadow: 0 0 8px rgba(235, 235, 235, 0.574);
}
.callback_block .form-control[data-drupal-selector="edit-name"] {
  background: url("/sites/all/themes/vesta_theme/image/user.svg") 19px center
    no-repeat;
  background-size: 18px 18px;
}
.callback_block .form-control[data-drupal-selector="edit-telefon"] {
  background: url("/sites/all/themes/vesta_theme/image/call2.svg") 19px center
    no-repeat;
  background-size: 18px 18px;
}
.callback_block .form-control[data-drupal-selector="edit-message"] {
  background: url("/sites/all/themes/vesta_theme/image/message.svg") 19px 18px
    no-repeat;
  background-size: 18px 18px;
}

.callback_block form .form-control,
.callback_block form .form-number {
  transition: all 0.3s;
  position: relative;
  padding-left: 49px;
  background: transparent;
  border: 1px solid #fff;
  font-size: 15px;
  color: #fff;
}
.callback_block .alert-error a {
  color: rgb(255 255 255 / 55%);
}
.callback_block .alert-error {
  background: transparent;
  border: 2px solid RED;
  border-radius: 15px;
  color: white;
}
/* CALLBACK BLOCK STYLES*/
/* FORM STYLES*/
form .form-item--error-message {
  display: none !important;
}

form .error {
  border: 1px solid red !important;
  outline: 1px solid red;
}

form .form-item {
  margin-bottom: 14px;
}

form .form-type-checkbox {
  padding: 0 18px;
  display: flex;
  gap: 8px;
  font-size: 15px;
}

form .form-type-checkbox input {
  flex-shrink: 0;
  appearance: none;
  position: relative;
  width: 21px;
  height: 21px;
  border: 1px solid #fff;
  border-radius: 0px;
  transition: 500ms;
}

form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
  font-size: 14px;
  line-height: 157%;
  text-transform: uppercase;
  color: #4c4c4c;
}
form .form-type-checkbox input::after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0px;
  height: 0px;
  font-size: 25px;
  background: url("/sites/all/themes/vesta_theme/image/checkmark.svg") center
    center no-repeat;
  content: "";
}
form .form-type-checkbox input:checked::after {
  width: 100%;
  height: 100%;
}
form .form-type-checkbox a {
  color: #fff;
}
.callback_block form {
  max-width: 470px;
}
/* FORM STYLES*/
/* BENEFITS STYLES*/
.benefits::before {
  content: "";
  bottom: 0;
  right: -69px;
  width: 1073px;
  position: absolute;
  height: 372px;
  background: url("/sites/all/themes/vesta_theme/image/fon-2.svg") no-repeat
    bottom;
  z-index: -1;
}
.benefits::after {
  width: 1073px;
  left: -225px;

  position: absolute;
  bottom: 0;
  height: 372px;
  content: "";
  background: url("/sites/all/themes/vesta_theme/image/fon-1.svg") no-repeat
    bottom;
  z-index: -1;
}
.benefits {
  position: relative;
  overflow-x: hidden;
}
.view-preimushchestva .view-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto;
  gap: 25px 30px;
  margin: 0 auto;
  max-width: 828px;
  align-items: stretch;
}

.view-preimushchestva .views-row:not(.logo) .node--type-preimushchestvo {
  border-radius: 20px;
  padding: 25px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 156px;
  height: 100%;
}

.view-preimushchestva .views-row .media img {
  width: auto;
  height: 55px;
  margin-bottom: 15px;
  object-fit: contain;
}

.view-preimushchestva .views-row .field--name-body p {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.view-preimushchestva .view-content .views-row:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}
.view-preimushchestva
  .view-content
  .views-row:nth-child(1)
  .node--type-preimushchestvo {
  background-color: var(--color-brown);
  color: #fff;
}

.view-preimushchestva .view-content .views-row:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}
.view-preimushchestva
  .view-content
  .views-row:nth-child(2)
  .node--type-preimushchestvo {
  background-color: #caab73;
  color: #fff;
}
.view-preimushchestva .view-content .views-row:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}
.view-preimushchestva
  .view-content
  .views-row:nth-child(3)
  .node--type-preimushchestvo {
  background-color: #f6e8c6;
  color: var(--color-black);
}

.view-preimushchestva .view-content .views-row:nth-child(4) {
  grid-column: 3;
  grid-row: 2;
}
.view-preimushchestva
  .view-content
  .views-row:nth-child(4)
  .node--type-preimushchestvo {
  background-color: #453224;
  color: #fff;
  padding: 25px 20px;
}

.view-preimushchestva .view-content .views-row:nth-child(5) {
  grid-column: 2;
  grid-row: 3;
}
.view-preimushchestva
  .view-content
  .views-row:nth-child(5)
  .node--type-preimushchestvo {
  background-color: var(--color-brown);
  color: #fff;
}

.view-preimushchestva .view-content .views-row.logo {
  width: 300px;
  max-width: 100%;
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
}

.view-preimushchestva .view-content .views-row.logo img {
  max-width: 100%;
  height: auto;
  display: block;
}
.view-preimushchestva .view-content .views-row:not(.logo) img {
  margin: 0 auto;
  margin-bottom: 12px;
}
/* BENEFITS STYLES*/
.modal-title {
  flex-grow: 1;
  text-align: center;
  margin-left: 32px;
  font-family: var(--second-family);
  font-size: 25px;
  color: var(--color-brown);
}
.modal-content form .form-type-checkbox input::after {
  background: url("/sites/all/themes/vesta_theme/image/checkmark-black.svg")
    center center no-repeat;
}
.wr_content form .form-control,
.modal-content .form-control {
  border: 1px solid var(--color-brown);
}
.wr_content form .form-actions button {
  margin: auto;
}
.wr_content form .form-type-checkbox input,
.modal-content .form-type-checkbox input {
  border-color: var(--color-brown);
}
.wr_content form .description a,
.modal-content .description a,
.modal-content .description {
  color: var(--color-black);
}
.modal-content form .form-type-checkbox {
  padding: 0;
}
.modal-content .btn-close {
  --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e");
}
.modal-footer button {
  width: 100%;
}
.modal-body {
  padding-bottom: 0;
}
.modal-content {
  background-color: var(--backgrond-body);
}

#scrollToTop {
  transition: opacity 0.3s;
}
#scrollToTop:hover {
  opacity: 0.75;
}
.offcanvas .nav .nav-item.dropdown .dropdown-toggle::after {
  top: 50%;
}
.header .region-navigation .nav > .nav-item:hover .dropdown-menu {
  max-width: 315px;
}
.header .custom-list {
  align-items: center;
}
/* *** ADAPTIVE *** */
@media screen and (min-width: 1199px) {
  .container {
    max-width: 1194px;
  }
}
@media screen and (max-width: 1199px) {
  .header-left::before {
    bottom: -57px;
  }
  .benefits::before {
    content: "";
    bottom: 0;
    right: -42%;
    width: 100%;
    height: 70%;
  }

  .benefits::after {
    width: 100%;
    left: -31%;
    position: absolute;
    bottom: 0;
    height: 70%;
  }
  form .form-type-checkbox {
    font-size: 14px;
  }
  .callback_block .field--name-body {
    font-size: 15px;
    margin-bottom: 15px;
    margin-top: 15px;
  }
  .btn-primary,
  .more-link a,
  .btn-second {
    font-size: 15px;
  }
  .node--type-about .right p:not(:last-child) {
    margin-bottom: 18px;
  }
  .node--type-about .right {
    gap: 20px;
    padding: 28px 0 28px 40px;
  }
  .node--type-about .field--name-body {
    font-size: 15px;
  }
  .block-title {
    font-size: 56px;
  }
  .region-benefits .field--name-body,
  .region-gallery .field--name-body,
  .region-services .field--name-body {
    font-size: 15px;
  }
  .view-uslugi .node--type-usluga {
    height: 300px;
  }
  .view-uslugi .field--name-field-zagolovok-uslugi {
    font-size: 15px;
    min-height: 60px;
  }
  .banner h1 {
    font-size: 59px;
  }
  #footer {
    padding-top: 60px;
  }
  .nav .nav-item.dropdown .dropdown-toggle.active::after {
    right: 6px;
  }
  .nav .nav-item.dropdown .dropdown-toggle::after {
    width: 8px;
    height: 8px;
    right: 9px;
  }
  .btn-search {
    padding: 8px 19px;
  }
  .header .col-search.active .region-search {
    width: 120px;
  }
  .header .nav {
    margin-right: 12px;
  }
  .header .nav-link.active {
    padding: 10px 15px;
  }
  .header .nav-link {
    padding: 10px 20px;
    font-size: 14px;
  }
  .header .nav .nav-item:not(:last-child) {
    margin: 0;
  }
  .header .contacts__item:first-child {
    margin-right: 30px;
  }
  .header-top,
  .header-top .col-contacts {
    gap: 30px;
  }
  .header-left {
    width: 200px;
  }
  .header-left img {
    width: 140px;
    height: 140px;
  }
  .offcanvas .nav-item {
    width: fit-content;
    padding-right: 20px;
  }
  .offcanvas .nav-item.dropdown .dropdown-toggle::after {
    right: -5px;
  }
  .header .nav > .nav-item:not(:last-child) {
    margin-right: 15px;
  }
}

@media screen and (max-width: 991px) {
  #scrollToTop {
    width: 40px;
    height: 40px;
    right: 53px;
  }
  .body-styles {
    font-size: 15px;
  }
  .region-benefits .field--name-body {
    max-width: 100%;
    text-align: center;
  }
  .region-benefits .block-block-content {
    flex-direction: column;
  }
  .view-preimushchestva .view-content {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 20px;
  }

  .view-preimushchestva .view-content .views-row:not(.logo) {
    grid-column: auto;
    grid-row: auto;
  }

  .view-preimushchestva .view-content .views-row.logo {
    margin: auto;
    grid-column: 1 / span 2;
    grid-row: auto;
    order: -1;
    margin-bottom: 15px;
  }
  .view-preimushchestva .view-content .views-row:nth-child(5) {
    margin: auto;
    grid-column: span 2;
    grid-row: auto;
  }
  .callback_block {
    padding: 65px 0;
  }
  .callback_block .field--name-body {
    max-width: 100%;
  }
  .callback_block form {
    max-width: 100%;
  }
  .callback_container > * {
    width: 100%;
    padding: 0;
    max-width: 100%;
  }
  .callback_container {
    flex-direction: column;
  }
  .node--type-about .right {
    padding: 28px 0 40px 0;
  }
  .node--type-about {
    gap: 0;
  }
  .node--type-about .left {
    height: 450px;
  }
  .node--type-about .right::after,
  .node--type-about .right::before,
  .node--type-about .left img {
    left: calc((-100vw + 100%) / 2);
    width: 100vw;
  }
  .node--type-about > * {
    width: 100%;
  }

  .region-benefits .field--name-body,
  .region-gallery .field--name-body,
  .region-services .field--name-body {
    font-size: 14px;
  }
  .view-uslugi .node--type-usluga {
    padding: 20px 9px;
  }
  .btn-second {
    font-size: 13px;
  }
  .view-uslugi .field--name-field-zagolovok-uslugi {
    font-size: 13px;
    min-height: 60px;
  }
  .view-uslugi .node--type-usluga {
    height: 250px;
  }
  .banner h1 {
    font-size: 50px;
  }
  .banner {
    padding: 50px 0;
    min-height: 450px;
  }
  .banner.section {
    margin-top: 0;
  }
  div#vpa-short-wrapper {
    margin: 0 auto;
    padding: 20px 21px;
    width: 95%;
  }
  #footer .top-row {
    padding-bottom: 30px;
  }
  #footer {
    padding-top: 45px;
    padding-bottom: 30px;
  }
  #main {
    padding-top: 0;
  }

  #offcanvasNav .nav {
    flex-direction: column;
  }
}

@media screen and (max-width: 767px) {
  #scrollToTop {
    bottom: 82px;
  }
  .wr_content #search-api-page-block-form-search ~ h2 {
    font-size: 23px;
  }
  .body-styles {
    font-size: 14px;
  }
  .benefits::before,
  .benefits::after {
    display: none;
  }
  .view-preimushchestva
    .view-content
    .views-row:nth-child(5)
    .node--type-preimushchestvo {
    max-width: 248px;
  }
  .callback_block .btn-primary {
    width: 50%;
  }
  .callback_block .contacts a {
    font-size: 17px;
  }
  .btn-round {
    margin: auto;
  }
  .block-title {
    text-align: center;
  }
  .callback_block {
    padding: 40px 0;
  }
  .callback_block .field--name-body {
    font-size: 14px;
  }
  .view-photogalereya .field--name-field-foto-material {
    margin: 0 -7px;
    row-gap: 15px;
  }
  .view-photogalereya .field--name-field-foto-material > * {
    width: 50%;
    padding: 0 7px;
  }
  .node--type-about .left {
    height: 350px;
  }
  .node--type-about .field--name-body {
    font-size: 14px;
  }
  .block-title {
    font-size: 46px;
  }
  .view-uslugi .node--type-usluga {
    padding: 25px 12px;
    height: 300px;
  }
  .view-uslugi .field--name-field-zagolovok-uslugi {
    font-size: 15px;
  }
  .region-benefits .block-block-content,
  .region-gallery .block-content,
  .region-services .block-block-content {
    flex-direction: column;
    gap: 15px;
  }
  #main .view-uslugi .view-content > * {
    width: 50%;
  }
  .banner h1 {
    font-size: 40px;
  }
  .banner {
    padding: 40px 0;
  }
  .vpa-actions .btn-primary {
    font-size: 15px;
  }
  div#vpa-short-wrapper .vpa-content {
    font-size: 12px;
  }
  #footer {
    padding-top: 35px;
  }
  .row-copiryght {
    justify-content: space-between;
  }
  #footer .top-row > * {
    width: 100%;
    max-width: 100%;
  }
  #footer .col-services .views-row,
  #footer .col-logo {
    text-align: center;
  }
  #footer {
    font-size: 15px;
  }
  #footer .custom-list {
    justify-content: center;
  }
  #footer .contacts {
    align-items: center;
  }
  #footer .contacts__item {
    width: fit-content;
  }
  #footer ul.nav a {
    font-size: 15px;
  }
  #footer ul.nav {
    flex-direction: row;
    justify-content: center;
  }
  .more-link a {
    margin-top: 15px;
  }
}

@media screen and (max-width: 576px) {
  #scrollToTop {
    right: 21px;
  }
  .wr_content #search-api-page-block-form-search ~ h2 {
    font-size: 23px;
  }
  .wr_content #search-api-page-block-form-search + h2 + p {
    font-size: 15px;
  }
  .wr_content #search-api-page-block-form-search ~ h3 {
    font-size: 14px;
  }
  .node--type-usluga.node--view-mode-full
    .field--name-field-izobrazhenie-uslugi {
    width: 57%;
    margin-right: 1.5rem;
  }
  .view-preimushchestva .view-content {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .view-preimushchestva .view-content .views-row:not(.logo) {
    grid-column: 1;
  }
  .view-preimushchestva .view-content .views-row:nth-child(5) {
    margin: initial;
  }
  .view-preimushchestva
    .view-content
    .views-row:nth-child(5)
    .node--type-preimushchestvo {
    max-width: 100%;
  }
  form .form-type-checkbox {
    padding: 0;
    font-size: 12px;
  }
  .callback_block .contacts_container {
    justify-content: center;
  }
  .callback_block .field--name-body {
    text-align: center;
  }
  .btn-primary,
  .more-link a,
  .btn-second {
    width: 50%;
    text-align: center;

    margin: auto;
    margin-top: 12px;
  }
  .node--type-about .btn-primary {
    margin-top: 0;
  }
  .block-title {
    text-align: center;
  }

  .node--type-about .right {
    padding: 20px 0 34px 0;
  }
  .view-uslugi .node--type-usluga:hover .field--name-node-link {
    width: 100%;
  }
  .btn-second {
    width: 100%;
    padding: 13px 17px;
    text-align: center;
    font-size: 12px;
  }
  .banner img {
    object-position: 40% 50%;
  }
  .banner {
    min-height: 350px;
    padding: 30px 0;
  }
  .banner h1 {
    font-size: 33px;
    margin-bottom: 25px;
  }
  .vpa-actions {
    width: 100%;
  }
  .vpa-actions .btn-primary {
    padding: 13px 22px;
    width: 100%;
  }
  #footer {
    padding-top: 25px;
  }
  #footer .contacts {
    gap: 11px;
  }
  #footer .top-row {
    padding-bottom: 25px;
  }
  #footer .nav-link {
    padding: 8px 14px;
  }
  .row-copiryght > * {
    width: 100%;
    text-align: center;
  }
  .row-copiryght {
    gap: 0;
    justify-content: center;
    row-gap: 10px;
  }
  #header-mob .col-logo img {
    width: 63px;
  }
  #header-mob .contacts__detail--phone span {
    display: none;
  }
  #header-mob .contacts__detail--phone svg {
    width: 21px;
    height: 21px;
  }
}
@media screen and (max-width: 475px) {
  .node--type-usluga.node--view-mode-full
    .field--name-field-izobrazhenie-uslugi
    img {
    height: 380px;
  }
  .node--type-usluga.node--view-mode-full
    .field--name-field-izobrazhenie-uslugi {
    width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  .btn-primary,
  .more-link a,
  .btn-second {
    width: 100%;
  }
  .more-link a {
    width: 100%;
    text-align: center;
  }
  .view-uslugi .field--name-field-zagolovok-uslugi {
    font-size: 14px;
  }
  /* .view-uslugi .node--type-usluga {
    height: 448px;
  }
  .view-uslugi .view-content > * {
    width: 100%;
  } */
  div#vpa-short-wrapper {
    flex-direction: column;
  }
}
@media screen and (max-width: 400px) {
  .view-uslugi .field--name-field-zagolovok-uslugi {
    font-size: 13px;
  }

  .view-uslugi .node--type-usluga {
    padding: 15px 12px;
    height: 258px;
  }
}
