/* ============= Reset and base styles ============= */

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

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Links */

a,
a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Common */

aside,
nav,
footer,
header,
section,
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
}

ul,
ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

/* Form */

input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

button,
input[type=submit] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

label {
  cursor: pointer;
}

legend {
  display: block;
}

/* npm i swiper -D */

/**
 * Swiper 10.0.4
 * Most modern mobile touch slider and framework with hardware accelerated transitions
 * https://swiperjs.com
 *
 * Copyright 2014-2023 Vladimir Kharlampidi
 *
 * Released under the MIT License
 *
 * Released on: July 8, 2023
 */

/* FONT_START */

@font-face {
  font-family: "swiper-icons";
  src: url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA");
  font-weight: 400;
  font-style: normal;
}

/* FONT_END */

:root {
  --swiper-theme-color: #007aff;
  /*
  --swiper-preloader-color: var(--swiper-theme-color);
  --swiper-wrapper-transition-timing-function: initial;
  */
}

:host {
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}

.swiper {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  overflow: clip;
  list-style: none;
  padding: 0;
  /* Fix of Webkit flickering */
  z-index: 1;
  display: block;
}

.swiper-vertical > .swiper-wrapper {
  flex-direction: column;
}

.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
  box-sizing: content-box;
}

.swiper-android .swiper-slide,
.swiper-ios .swiper-slide,
.swiper-wrapper {
  transform: translate3d(0px, 0, 0);
}

.swiper-horizontal {
  touch-action: pan-y;
}

.swiper-vertical {
  touch-action: pan-x;
}

.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
  display: block;
}

.swiper-slide-invisible-blank {
  visibility: hidden;
}

/* Auto Height */

.swiper-autoheight,
.swiper-autoheight .swiper-slide {
  height: auto;
}

.swiper-autoheight .swiper-wrapper {
  align-items: flex-start;
  transition-property: transform, height;
}

.swiper-backface-hidden .swiper-slide {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* 3D Effects */

.swiper-3d.swiper-css-mode .swiper-wrapper {
  perspective: 1200px;
}

.swiper-3d .swiper-wrapper {
  transform-style: preserve-3d;
}

.swiper-3d {
  perspective: 1200px;
}

.swiper-3d .swiper-slide,
.swiper-3d .swiper-cube-shadow {
  transform-style: preserve-3d;
}

/* CSS Mode */

.swiper-css-mode > .swiper-wrapper {
  overflow: auto;
  scrollbar-width: none;
  /* For Firefox */
  -ms-overflow-style: none;
  /* For Internet Explorer and Edge */
}

.swiper-css-mode > .swiper-wrapper::-webkit-scrollbar {
  display: none;
}

.swiper-css-mode > .swiper-wrapper > .swiper-slide {
  scroll-snap-align: start start;
}

.swiper-css-mode.swiper-horizontal > .swiper-wrapper {
  scroll-snap-type: x mandatory;
}

.swiper-css-mode.swiper-vertical > .swiper-wrapper {
  scroll-snap-type: y mandatory;
}

.swiper-css-mode.swiper-free-mode > .swiper-wrapper {
  scroll-snap-type: none;
}

.swiper-css-mode.swiper-free-mode > .swiper-wrapper > .swiper-slide {
  scroll-snap-align: none;
}

.swiper-css-mode.swiper-centered > .swiper-wrapper::before {
  content: "";
  flex-shrink: 0;
  order: 9999;
}

.swiper-css-mode.swiper-centered > .swiper-wrapper > .swiper-slide {
  scroll-snap-align: center center;
  scroll-snap-stop: always;
}

.swiper-css-mode.swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {
  margin-inline-start: var(--swiper-centered-offset-before);
}

.swiper-css-mode.swiper-centered.swiper-horizontal > .swiper-wrapper::before {
  height: 100%;
  min-height: 1px;
  width: var(--swiper-centered-offset-after);
}

.swiper-css-mode.swiper-centered.swiper-vertical > .swiper-wrapper > .swiper-slide:first-child {
  margin-block-start: var(--swiper-centered-offset-before);
}

.swiper-css-mode.swiper-centered.swiper-vertical > .swiper-wrapper::before {
  width: 100%;
  min-width: 1px;
  height: var(--swiper-centered-offset-after);
}

/* Slide styles start */

/* 3D Shadows */

.swiper-3d .swiper-slide-shadow,
.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right,
.swiper-3d .swiper-slide-shadow-top,
.swiper-3d .swiper-slide-shadow-bottom,
.swiper-3d .swiper-slide-shadow,
.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right,
.swiper-3d .swiper-slide-shadow-top,
.swiper-3d .swiper-slide-shadow-bottom {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.swiper-3d .swiper-slide-shadow {
  background: rgba(0, 0, 0, 0.15);
}

.swiper-3d .swiper-slide-shadow-left {
  background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

.swiper-3d .swiper-slide-shadow-right {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

.swiper-3d .swiper-slide-shadow-top {
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

.swiper-3d .swiper-slide-shadow-bottom {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

.swiper-lazy-preloader {
  width: 42px;
  height: 42px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -21px;
  margin-top: -21px;
  z-index: 10;
  transform-origin: 50%;
  box-sizing: border-box;
  border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color));
  border-radius: 50%;
  border-top-color: transparent;
}

.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,
.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader {
  animation: swiper-preloader-spin 1s infinite linear;
}

.swiper-lazy-preloader-white {
  --swiper-preloader-color: #fff;
}

.swiper-lazy-preloader-black {
  --swiper-preloader-color: #000;
}

@keyframes swiper-preloader-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Slide styles end */

.swiper-virtual .swiper-slide {
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.swiper-virtual.swiper-css-mode .swiper-wrapper::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
}

.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after {
  height: 1px;
  width: var(--swiper-virtual-size);
}

.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after {
  width: 1px;
  height: var(--swiper-virtual-size);
}

:root {
  --swiper-navigation-size: 44px;
  /*
  --swiper-navigation-top-offset: 50%;
  --swiper-navigation-sides-offset: 10px;
  --swiper-navigation-color: var(--swiper-theme-color);
  */
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: var(--swiper-navigation-top-offset, 50%);
  width: calc(var(--swiper-navigation-size) / 44 * 27);
  height: var(--swiper-navigation-size);
  margin-top: calc(0px - var(--swiper-navigation-size) / 2);
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--swiper-navigation-color, var(--swiper-theme-color));
}

.swiper-button-prev.swiper-button-disabled,
.swiper-button-next.swiper-button-disabled {
  opacity: 0.35;
  cursor: auto;
  pointer-events: none;
}

.swiper-button-prev.swiper-button-hidden,
.swiper-button-next.swiper-button-hidden {
  opacity: 0;
  cursor: auto;
  pointer-events: none;
}

.swiper-navigation-disabled .swiper-button-prev,
.swiper-navigation-disabled .swiper-button-next {
  display: none !important;
}

.swiper-button-prev svg,
.swiper-button-next svg {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  transform-origin: center;
}

.swiper-rtl .swiper-button-prev svg,
.swiper-rtl .swiper-button-next svg {
  transform: rotate(180deg);
}

.swiper-button-prev,
.swiper-rtl .swiper-button-next {
  left: var(--swiper-navigation-sides-offset, 10px);
  right: auto;
}

.swiper-button-next,
.swiper-rtl .swiper-button-prev {
  right: var(--swiper-navigation-sides-offset, 10px);
  left: auto;
}

.swiper-button-lock {
  display: none;
}

/* Navigation font start */

.swiper-button-prev:after,
.swiper-button-next:after {
  font-family: swiper-icons;
  font-size: var(--swiper-navigation-size);
  text-transform: none !important;
  letter-spacing: 0;
  font-variant: initial;
  line-height: 1;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
  content: "prev";
}

.swiper-button-next,
.swiper-rtl .swiper-button-prev {
  right: var(--swiper-navigation-sides-offset, 10px);
  left: auto;
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
  content: "next";
}

/* Navigation font end */

:root {
  /*
  --swiper-pagination-color: var(--swiper-theme-color);
  --swiper-pagination-left: auto;
  --swiper-pagination-right: 8px;
  --swiper-pagination-bottom: 8px;
  --swiper-pagination-top: auto;
  --swiper-pagination-fraction-color: inherit;
  --swiper-pagination-progressbar-bg-color: rgba(0,0,0,0.25);
  --swiper-pagination-progressbar-size: 4px;
  --swiper-pagination-bullet-size: 8px;
  --swiper-pagination-bullet-width: 8px;
  --swiper-pagination-bullet-height: 8px;
  --swiper-pagination-bullet-border-radius: 50%;
  --swiper-pagination-bullet-inactive-color: #000;
  --swiper-pagination-bullet-inactive-opacity: 0.2;
  --swiper-pagination-bullet-opacity: 1;
  --swiper-pagination-bullet-horizontal-gap: 4px;
  --swiper-pagination-bullet-vertical-gap: 6px;
  */
}

.swiper-pagination {
  position: absolute;
  text-align: center;
  transition: 300ms opacity;
  transform: translate3d(0, 0, 0);
  z-index: 10;
}

.swiper-pagination.swiper-pagination-hidden {
  opacity: 0;
}

.swiper-pagination-disabled > .swiper-pagination,
.swiper-pagination.swiper-pagination-disabled {
  display: none !important;
}

/* Common Styles */

.swiper-pagination-fraction,
.swiper-pagination-custom,
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: var(--swiper-pagination-bottom, 8px);
  top: var(--swiper-pagination-top, auto);
  left: 0;
  width: 100%;
}

/* Bullets */

.swiper-pagination-bullets-dynamic {
  overflow: hidden;
  font-size: 0;
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
  transform: scale(0.33);
  position: relative;
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active {
  transform: scale(1);
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main {
  transform: scale(1);
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev {
  transform: scale(0.66);
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev {
  transform: scale(0.33);
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next {
  transform: scale(0.66);
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next {
  transform: scale(0.33);
}

.swiper-pagination-bullet {
  width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));
  height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));
  display: inline-block;
  border-radius: var(--swiper-pagination-bullet-border-radius, 50%);
  background: var(--swiper-pagination-bullet-inactive-color, #000);
  opacity: var(--swiper-pagination-bullet-inactive-opacity, 0.2);
}

button.swiper-pagination-bullet {
  border: none;
  margin: 0;
  padding: 0;
  box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
}

.swiper-pagination-clickable .swiper-pagination-bullet {
  cursor: pointer;
}

.swiper-pagination-bullet:only-child {
  display: none !important;
}

.swiper-pagination-bullet-active {
  opacity: var(--swiper-pagination-bullet-opacity, 1);
  background: var(--swiper-pagination-color, var(--swiper-theme-color));
}

.swiper-vertical > .swiper-pagination-bullets,
.swiper-pagination-vertical.swiper-pagination-bullets {
  right: var(--swiper-pagination-right, 8px);
  left: var(--swiper-pagination-left, auto);
  top: 50%;
  transform: translate3d(0px, -50%, 0);
}

.swiper-vertical > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: var(--swiper-pagination-bullet-vertical-gap, 6px) 0;
  display: block;
}

.swiper-vertical > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic,
.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
}

.swiper-vertical > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,
.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
  display: inline-block;
  transition: 200ms transform, 200ms top;
}

.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px);
}

.swiper-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic,
.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.swiper-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
  transition: 200ms transform, 200ms left;
}

.swiper-horizontal.swiper-rtl > .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
  transition: 200ms transform, 200ms right;
}

/* Fraction */

.swiper-pagination-fraction {
  color: var(--swiper-pagination-fraction-color, inherit);
}

/* Progress */

.swiper-pagination-progressbar {
  background: var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, 0.25));
  position: absolute;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: var(--swiper-pagination-color, var(--swiper-theme-color));
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: scale(0);
  transform-origin: left top;
}

.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  transform-origin: right top;
}

.swiper-horizontal > .swiper-pagination-progressbar,
.swiper-pagination-progressbar.swiper-pagination-horizontal,
.swiper-vertical > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,
.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite {
  width: 100%;
  height: var(--swiper-pagination-progressbar-size, 4px);
  left: 0;
  top: 0;
}

.swiper-vertical > .swiper-pagination-progressbar,
.swiper-pagination-progressbar.swiper-pagination-vertical,
.swiper-horizontal > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,
.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite {
  width: var(--swiper-pagination-progressbar-size, 4px);
  height: 100%;
  left: 0;
  top: 0;
}

.swiper-pagination-lock {
  display: none;
}

:root {
  /*
  --swiper-scrollbar-border-radius: 10px;
  --swiper-scrollbar-top: auto;
  --swiper-scrollbar-bottom: 4px;
  --swiper-scrollbar-left: auto;
  --swiper-scrollbar-right: 4px;
  --swiper-scrollbar-sides-offset: 1%;
  --swiper-scrollbar-bg-color: rgba(0, 0, 0, 0.1);
  --swiper-scrollbar-drag-bg-color: rgba(0, 0, 0, 0.5);
  --swiper-scrollbar-size: 4px;
  */
}

.swiper-scrollbar {
  border-radius: var(--swiper-scrollbar-border-radius, 10px);
  position: relative;
  -ms-touch-action: none;
  background: var(--swiper-scrollbar-bg-color, rgba(0, 0, 0, 0.1));
}

.swiper-scrollbar-disabled > .swiper-scrollbar,
.swiper-scrollbar.swiper-scrollbar-disabled {
  display: none !important;
}

.swiper-horizontal > .swiper-scrollbar,
.swiper-scrollbar.swiper-scrollbar-horizontal {
  position: absolute;
  left: var(--swiper-scrollbar-sides-offset, 1%);
  bottom: var(--swiper-scrollbar-bottom, 4px);
  top: var(--swiper-scrollbar-top, auto);
  z-index: 50;
  height: var(--swiper-scrollbar-size, 4px);
  width: calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%));
}

.swiper-vertical > .swiper-scrollbar,
.swiper-scrollbar.swiper-scrollbar-vertical {
  position: absolute;
  left: var(--swiper-scrollbar-left, auto);
  right: var(--swiper-scrollbar-right, 4px);
  top: var(--swiper-scrollbar-sides-offset, 1%);
  z-index: 50;
  width: var(--swiper-scrollbar-size, 4px);
  height: calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%));
}

.swiper-scrollbar-drag {
  height: 100%;
  width: 100%;
  position: relative;
  background: var(--swiper-scrollbar-drag-bg-color, rgba(0, 0, 0, 0.5));
  border-radius: var(--swiper-scrollbar-border-radius, 10px);
  left: 0;
  top: 0;
}

.swiper-scrollbar-cursor-drag {
  cursor: move;
}

.swiper-scrollbar-lock {
  display: none;
}

.swiper-zoom-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.swiper-zoom-container > img,
.swiper-zoom-container > svg,
.swiper-zoom-container > canvas {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.swiper-slide-zoomed {
  cursor: move;
  touch-action: none;
}

/* a11y */

.swiper .swiper-notification {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  opacity: 0;
  z-index: -1000;
}

.swiper-free-mode > .swiper-wrapper {
  transition-timing-function: ease-out;
  margin: 0 auto;
}

.swiper-grid > .swiper-wrapper {
  flex-wrap: wrap;
}

.swiper-grid-column > .swiper-wrapper {
  flex-wrap: wrap;
  flex-direction: column;
}

.swiper-fade.swiper-free-mode .swiper-slide {
  transition-timing-function: ease-out;
}

.swiper-fade .swiper-slide {
  pointer-events: none;
  transition-property: opacity;
}

.swiper-fade .swiper-slide .swiper-slide {
  pointer-events: none;
}

.swiper-fade .swiper-slide-active,
.swiper-fade .swiper-slide-active .swiper-slide-active {
  pointer-events: auto;
}

.swiper-cube {
  overflow: visible;
}

.swiper-cube .swiper-slide {
  pointer-events: none;
  backface-visibility: hidden;
  z-index: 1;
  visibility: hidden;
  transform-origin: 0 0;
  width: 100%;
  height: 100%;
}

.swiper-cube .swiper-slide .swiper-slide {
  pointer-events: none;
}

.swiper-cube.swiper-rtl .swiper-slide {
  transform-origin: 100% 0;
}

.swiper-cube .swiper-slide-active,
.swiper-cube .swiper-slide-active .swiper-slide-active {
  pointer-events: auto;
}

.swiper-cube .swiper-slide-active,
.swiper-cube .swiper-slide-next,
.swiper-cube .swiper-slide-prev {
  pointer-events: auto;
  visibility: visible;
}

.swiper-cube .swiper-cube-shadow {
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  z-index: 0;
}

.swiper-cube .swiper-cube-shadow:before {
  content: "";
  background: #000;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  filter: blur(50px);
}

.swiper-cube .swiper-slide-next + .swiper-slide {
  pointer-events: auto;
  visibility: visible;
}

/* Cube slide shadows start */

.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-top,
.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,
.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-left,
.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-right {
  z-index: 0;
  backface-visibility: hidden;
}

/* Cube slide shadows end */

.swiper-flip {
  overflow: visible;
}

.swiper-flip .swiper-slide {
  pointer-events: none;
  backface-visibility: hidden;
  z-index: 1;
}

.swiper-flip .swiper-slide .swiper-slide {
  pointer-events: none;
}

.swiper-flip .swiper-slide-active,
.swiper-flip .swiper-slide-active .swiper-slide-active {
  pointer-events: auto;
}

/* Flip slide shadows start */

.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-top,
.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-bottom,
.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-left,
.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-right {
  z-index: 0;
  backface-visibility: hidden;
}

/* Flip slide shadows end */

.swiper-creative .swiper-slide {
  backface-visibility: hidden;
  overflow: hidden;
  transition-property: transform, opacity, height;
}

.swiper-cards {
  overflow: visible;
}

.swiper-cards .swiper-slide {
  transform-origin: center bottom;
  backface-visibility: hidden;
  overflow: hidden;
}

/* ============= My roots ============= */

:root {
  --white: #fff;
  --black: #000;
}

body {
  --text-color-1: var(--white);
  --text-color-2: var(--black);
}

/* ============= My default blocks styles ============= */

html,
body {
  height: 100%;
}

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

body.lock {
  overflow: hidden;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  background: url(../img/sprite.svg#background--violet) no-repeat bottom -395px right -395px, url(../img/sprite.svg#background--red) no-repeat bottom -135px right -556px;
  background-size: 734px 678px, 734px 678px;
}

#main {
  flex: 1 0 auto;
}

.container {
  max-width: 1230px;
  padding: 0 15px;
  margin: 0 auto;
}

.flex {
  display: flex;
}

.padding {
  padding: 0 15px;
}

/* ============= My main blocks styles ============================================================================ */

.display-none {
  display: none;
}

.search {
  padding: 2px 3px;
  display: flex;
  background-color: #fff;
  border-radius: 32px;
  border: 1px solid #E0E3EB;
  transition: box-shadow 0.3s;
}

.search--shadow {
  box-shadow: 0px 1.6599999666px 32px 0px rgba(0, 0, 0, 0.05);
}

.search__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.search__icon {
  box-sizing: content-box;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 60px;
  height: 24px;
}

.search__icon--point {
  background: url(../img/sprite.svg#icons--point) no-repeat center center/contain;
}

.search__icon--email {
  background: url(../img/sprite.svg#icons--email) no-repeat center center/contain;
}

.search__input {
  padding: 11px 10px 11px 0;
  flex: 1 1 auto;
  color: #CE401C;
  font-size: 18px;
}

.search__button {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 16px;
  padding-right: 16px;
  font-size: 16px;
  background-color: #CE401C;
  color: #fff;
  border-radius: 32px;
  transition: background-color 0.3s;
}

.search__button:active {
  background-color: #a43b20;
}

.search__button--arrow {
  padding-right: 40px;
}

.search__button--arrow::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  right: 14px;
  background: url(../img/icons/arrow.svg) no-repeat center center;
}

.search--active {
  box-shadow: 0px 0px 30px 0px rgba(206, 64, 28, 0.35);
}

.actions {
  margin-bottom: 48px;
}

.actions__container {
  padding: 0 15px 0 46px;
  background: rgba(255, 255, 255, 0.3);
}

.action {
  display: flex;
  align-items: center;
  padding: 24px;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 32px;
  background: #FFF;
  box-shadow: 0px 11px 48px 0px rgba(51, 51, 51, 0.06);
}

.action__img {
  box-shadow: 0px 9px 32px 0px rgba(89, 92, 219, 0.2);
  height: 56px;
  width: 56px;
  border-radius: 50%;
  border: 3px solid #FFF;
}

.action__img--no-avatar {
  border: none;
  border-radius: 24px;
}

.action__img:not(:nth-last-child(2)) {
  margin-right: -28px;
}

.action__inner {
  margin-left: 16px;
}

.action__title {
  color: #1B1C57;
  font-weight: 600;
  line-height: 1.5;
}

.action__subtitle {
  color: #68799F;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.66;
}

.action__slide {
  width: auto;
}

.subtitle {
  display: flex;
  align-items: flex-start;
  font-size: 14px;
}

.subtitle__line {
  margin-top: 0.6em;
  width: 32px;
  height: 1px;
  flex-shrink: 0;
  background-color: #F59E0B;
  margin-right: 8px;
}

.subtitle__text {
  color: #F59E0B;
  text-transform: capitalize;
}

.subtitle--center {
  flex-direction: column;
  align-items: center;
}

.subtitle--center .subtitle__line {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 6px;
}

.subtitle--center .subtitle__text {
  text-align: center;
  max-width: 280px;
}

.title {
  color: #1B1C57;
  font-size: 32px;
  font-weight: 600;
  text-transform: capitalize;
  box-sizing: content-box;
}

.title--center {
  text-align: center;
  margin: 0 auto;
  padding: 0 10px;
}

.title--red {
  color: #CE401C;
  line-height: 1.5;
}

.offer {
  width: 340px;
}

.offer__img-block {
  position: relative;
  display: block;
  height: 382px;
  border-radius: 24px;
  margin-bottom: 24px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.offer__title {
  font-size: 24px;
  line-height: 1.33;
  margin-bottom: 8px;
}

.offer__title a {
  color: #0E1735;
}

.offer__price {
  color: #3C4563;
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.offer--badge-popular .offer__img-block::before {
  content: "Popular";
  padding-top: 8px;
  padding-right: 16px;
  padding-bottom: 8px;
  padding-left: 42px;
  position: absolute;
  bottom: 16px;
  left: 16px;
  color: #EF4444;
  font-size: 14px;
  background-color: #FEE2E2;
  border-radius: 32px;
}

.offer--badge-popular .offer__img-block::after {
  content: "";
  position: absolute;
  bottom: 24px;
  left: 32px;
  width: 20px;
  height: 20px;
  background: url(../img/sprite.svg#icons--badge-popular) no-repeat center center/contain;
}

.offer--badge-new .offer__img-block::before {
  content: "New House";
  padding-top: 8px;
  padding-right: 16px;
  padding-bottom: 8px;
  padding-left: 42px;
  position: absolute;
  bottom: 16px;
  left: 16px;
  color: #1D4ED8;
  font-size: 14px;
  background-color: #DBEAFE;
  border-radius: 32px;
}

.offer--badge-new .offer__img-block::after {
  content: "";
  position: absolute;
  bottom: 24px;
  left: 32px;
  width: 20px;
  height: 20px;
  background: url(../img/sprite.svg#icons--badge-new) no-repeat center center/contain;
}

.offer--badge-best .offer__img-block::before {
  content: "Best Deals";
  padding-top: 8px;
  padding-right: 16px;
  padding-bottom: 8px;
  padding-left: 42px;
  position: absolute;
  bottom: 16px;
  left: 16px;
  color: #047857;
  font-size: 14px;
  background-color: #D1FAE5;
  border-radius: 32px;
}

.offer--badge-best .offer__img-block::after {
  content: "";
  position: absolute;
  bottom: 24px;
  left: 32px;
  width: 20px;
  height: 20px;
  background: url(../img/sprite.svg#icons--badge-best) no-repeat center center/contain;
}

.user {
  display: flex;
  align-items: center;
}

.user__photo {
  width: 40px;
  height: 40px;
  margin-right: 16px;
}

.user__name {
  color: #0E1735;
  font-size: 18px;
  line-height: 1.33;
  margin-bottom: 4px;
}

.user__info {
  color: #888B97;
  font-size: 14px;
  line-height: 1.5;
}

.social {
  display: flex;
  align-items: center;
  gap: 24px;
}

.social__link {
  color: #3C4563;
  transition: color 0.3s;
}

.social__link:active {
  color: #F59E0B;
}

.social__link path {
  fill: currentColor;
}

.rate {
  max-width: 110px;
  flex: 0 0 auto;
  padding-left: 24px;
  display: flex;
  align-items: center;
}

.rate svg {
  flex: 0 0 auto;
  height: 28px;
  width: 28px;
}

.rate-num {
  padding-top: 1px;
  margin-left: 12px;
  color: #3C4563;
  font-size: 20px;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.comment__slide-bg-wrap {
  position: relative;
  margin-bottom: -145px;
  position: relative;
  overflow: hidden;
  height: 400px;
  bottom: 0;
  width: 100%;
  border-radius: 8px;
  transition: bottom 1s;
}

.comment__slide-bg-wrap._animate-hidden {
  bottom: -100px;
}

.comment__slide-background {
  position: absolute;
  right: -15%;
  left: -15%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.comment__slide {
  width: 740px;
}

.comment__content {
  position: relative;
  width: 612px;
  margin: 0 auto;
  padding-top: 32px;
  padding-right: 32px;
  padding-bottom: 32px;
  padding-left: 32px;
  border-radius: 16px;
  box-shadow: 0px 9px 32px 0px rgba(89, 92, 219, 0.1);
  background-color: #fff;
}

.comment__title {
  margin-bottom: 16px;
  color: #1B1C57;
  font-size: 20px;
  font-weight: 600;
  text-transform: capitalize;
}

.comment__text {
  color: #626687;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 24px;
}

.comment__user {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.swiper__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
}

.swiper__pagination .swiper-pagination-bullet {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  background-color: #E0E3EB;
  opacity: 1;
  width: 8px;
  height: 8px;
  transition: background-color 0.3s;
}

.swiper__pagination .swiper-pagination-bullet-active {
  background-color: #3C4563;
}

#new-article {
  grid-column: 2/3;
  grid-row: 1/4;
}

#new-article .article {
  flex-direction: column;
}

#new-article .article__img-link {
  margin: 2px 0 24px;
  height: 280px;
  width: 100%;
}

#new-article p:nth-of-type(1) {
  display: block;
}

.article {
  display: flex;
  height: 100%;
}

.article__img-link {
  display: block;
  flex: 0 0 auto;
  height: 144px;
  width: 200px;
  margin-top: 2px;
  margin-bottom: 2px;
  margin-right: 32px;
  transform: translateX(0px);
  transition: transform 0.5s;
}

.article__img-link._animate-hidden {
  transform: translateX(-100%);
}

.article__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 16px;
}

.article__inner {
  transform: translateX(0px);
  transition: transform 0.5s;
}

.article__inner._animate-hidden {
  transform: translateX(100px);
}

.article__writer {
  margin-bottom: 12px;
}

.article h3 {
  margin-bottom: 16px;
}

.article h3 a {
  display: block;
  color: #1B1C57;
  line-height: 1.7;
  font-size: 18px;
  text-transform: capitalize;
}

.article p {
  margin-top: auto;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

.article p:nth-of-type(1) {
  color: #626687;
  margin-bottom: 16px;
  display: none;
}

.article p:nth-of-type(2) {
  color: #888B97;
}

.writer {
  display: flex;
  align-items: center;
  padding-right: 10px;
  color: #3C4563;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.writer__photo {
  width: 32px;
  margin-right: 16px;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: rgba(164, 161, 161, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
}

.popup.open {
  opacity: 1;
  visibility: visible;
}

.popup__body {
  position: relative;
  padding: 40px 0;
  background-color: #fff;
  overflow-x: hidden;
  width: 92vw;
  max-width: 1200px;
  max-height: 90vh;
}

.popup__close {
  position: absolute;
  line-height: 1em;
  top: 5px;
  right: 10px;
  font-size: 32px;
  transition: color 0.3s;
}

.popup__close:active {
  color: #CE401C;
}

/* ============= My styles ======================================================================================== */

.header {
  padding-bottom: 60px;
  box-sizing: content-box;
}

.header__left {
  display: flex;
  align-items: flex-end;
  flex: 1 1 50vw;
}

.header__left-box {
  position: relative;
  max-width: 615px;
  padding: 120px 15px 48px 15px;
  margin-left: auto;
}

.header__left-box-bg-red {
  top: -390px;
  left: -316px;
  z-index: -1;
  width: 734px;
  height: 678px;
  background: url(../img/sprite.svg#background--red) no-repeat center center/cover;
}

.header__left-box-bg-pink {
  top: -310px;
  left: -550px;
  z-index: -1;
  width: 734px;
  height: 678px;
  background: url(../img/sprite.svg#background--pink) no-repeat center center/cover;
}

.header__right {
  flex: 1 1 50vw;
  background: -webkit-image-set(url(../img/header-bg-right.avif) type("image/avif"), url(../img/header-bg-right.webp) type("image/webp"), url(../img/header-bg-right.jpg)) no-repeat left center/cover #DBEAFE;
  background: image-set(url(../img/header-bg-right.avif) type("image/avif"), url(../img/header-bg-right.webp) type("image/webp"), url(../img/header-bg-right.jpg)) no-repeat left center/cover #DBEAFE;
  border-radius: 0 0 0 80px;
  overflow: hidden;
}

.header__right-box {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.header__content {
  max-width: 496px;
}

.header__content-output {
  padding: 30px 15px;
  margin-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.85);
}

.header__title {
  width: 380px;
  margin-bottom: 24px;
  color: #CE401C;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -1px;
  text-transform: capitalize;
  opacity: 1;
  transform: translateX(0px);
  transition: opacity 0.5s, transform 0.5s;
}

.header__title._animate-hidden {
  opacity: 0;
  transform: translateX(-100px);
}

.header__text {
  font-size: 16px;
  width: 496px;
  padding-bottom: 37px;
  color: #626687;
  font-weight: 400;
  line-height: 1.75;
}

.header__text span {
  color: #CE401C;
}

.header__partnership {
  margin-top: 72px;
}

.header__partnership-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  -moz-column-gap: 16px;
       column-gap: 16px;
}

.header__partnership-text {
  font-size: 18px;
  color: #626687;
  font-weight: 400;
}

.header__partnership-img1 img {
  margin-top: -2px;
}

.header__partnership-img2 img {
  margin-top: 2px;
}

.header__nav {
  margin-top: 46px;
  padding: 0 15px;
  max-width: 615px;
}

.header__nav-list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 10px;
}

.header__nav-item {
  flex: 0 0 auto;
}

.header__nav-item + .header__nav-item {
  margin-left: 24px;
}

.header__nav-link,
.header__nav-btn {
  display: block;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 16px;
  padding-right: 16px;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
  border-radius: 32px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  transition: border 0.3s, background 0.3s, color 0.3s;
}

.header__nav-link:active,
.header__nav-btn:active {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.45);
}

.header__nav-link--red,
.header__nav-btn--red {
  padding-top: 11px;
  padding-bottom: 11px;
  padding-left: 24px;
  padding-right: 24px;
  font-size: 16px;
  padding: 12px 24px;
  color: #CE401C;
  border: none;
  background: rgba(206, 64, 28, 0.15);
}

.header__nav-link--red:active,
.header__nav-btn--red:active {
  background: rgba(206, 64, 28, 0.55);
  color: #fff;
}

.header__nav-btn {
  display: flex;
  align-items: center;
}

.header__nav-btn-icon {
  flex: 0 0 18px;
  margin-left: 10px;
  height: 18px;
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

.header__nav-btn-icon-active {
  transform: rotate(-90deg);
}

.houses {
  padding-top: 60px;
  padding-bottom: 60px;
}

.houses__title {
  margin-left: 40px;
  opacity: 1;
  transform: translateX(0px);
  transition: opacity 0.5s, transform 0.5s;
}

.houses__title._animate-hidden {
  opacity: 0;
  transform: translateX(-100px);
}

.houses__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.houses__nav-inner {
  display: flex;
  align-items: center;
}

.houses__nav-item {
  display: flex;
  align-items: center;
  background-color: #fff;
  color: #888B97;
  font-size: 18px;
  padding-top: 12px;
  padding-right: 24px;
  padding-bottom: 12px;
  padding-left: 24px;
  border-radius: 32px;
  border: 1px solid #E0E3EB;
  transition: color 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.houses__nav-item + .houses__nav-item {
  margin-left: 32px;
}

.houses__nav-item svg {
  flex: 0 0 auto;
  margin-right: 8px;
  width: 24px;
  height: 24px;
}

.houses__nav-item svg path {
  fill: currentColor;
}

.houses__nav-item--active {
  color: #CE401C;
  box-shadow: 2px 2px 3px #c6b2ae;
  background: rgba(206, 64, 28, 0.17);
  border-color: rgba(0, 0, 0, 0);
}

.houses__slide-inner {
  display: flex;
}

.houses__slide-btn {
  width: 52px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: #3C4563;
  border-radius: 32px;
  background: #E0E3EB;
  transition: color 0.3s, background 0.3s;
}

.houses__slide-btn + .houses__slide-btn {
  margin-left: 16px;
}

.houses__slide-btn path {
  fill: currentColor;
}

.houses__slide-btn:active {
  color: #fff;
  background: #CE401C;
}

.houses__slide-btn.swiper-button-disabled {
  color: rgba(60, 69, 99, 0.4);
  background: rgba(224, 227, 235, 0.4);
}

.houses__slide-btn.swiper-button-disabled:hover {
  cursor: default;
  color: rgba(60, 69, 99, 0.4);
  background: rgba(224, 227, 235, 0.4);
}

.houses__slide-prev {
  transform: rotate(180deg);
}

.houses__offers {
  padding-left: calc((100vw - 1200px) / 2 + 40px);
  padding-right: calc((100vw - 1200px) / 2);
}

.houses__offers .swiper-slide {
  width: auto;
}

.gallery {
  position: relative;
  padding-top: 60px;
  padding-bottom: 60px;
}

.gallery__container {
  display: flex;
  align-items: center;
}

.gallery__side {
  width: 50%;
}

.gallery__left {
  margin-top: 28px;
}

.gallery__right {
  margin-bottom: 43px;
  display: flex;
  justify-content: flex-end;
}

.gallery__subtitle {
  margin-bottom: 12px;
}

.gallery__title {
  margin-bottom: 16px;
  margin-left: 40px;
  opacity: 1;
  transform: translateX(0px);
  transition: opacity 0.5s, transform 0.5s;
}

.gallery__title._animate-hidden {
  opacity: 0;
  transform: translateX(-100px);
}

.gallery__left-inner {
  margin-left: 40px;
  max-width: 450px;
}

.gallery__text {
  color: #626687;
  font-weight: 400;
  line-height: 1.75;
  margin-bottom: 1em;
}

.gallery__detail {
  color: #1B1C57;
  font-weight: 600;
  line-height: 1.75;
  margin-bottom: 22px;
}

.gallery__details-box {
  display: flex;
  flex-wrap: wrap;
  row-gap: 16px;
  padding-bottom: 32px;
  border-bottom: 2px solid #F0F3FD;
  margin-bottom: 32px;
}

.gallery__details-item {
  display: flex;
  align-items: center;
  width: 50%;
  padding-right: 20px;
  color: #3C4563;
  text-transform: capitalize;
}

.gallery__details-item svg {
  margin-right: 16px;
  flex: 0 0 auto;
}

.gallery__user-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gallery__user-contact-link {
  display: flex;
  align-items: center;
  align-self: stretch;
  padding-right: 16px;
  padding-left: 16px;
  color: #FFF;
  opacity: 0.9;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  background-color: #F59E0B;
  border-radius: 32px;
  box-shadow: 2px 2px 2px #d08609, -2px -2px 2px #ffb60d;
  transition: opacity 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.gallery__user-contact-link svg {
  margin-right: 8px;
}

.gallery__user-contact-link:active {
  background-color: #CE401C;
  box-shadow: 2px 2px 8px #9d3115, -2px -2px 8px #ff4f23;
}

.gallery__video-wrap {
  position: relative;
  width: 488px;
  height: 416px;
  border-radius: 4px;
}

.gallery__video-wrap::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  z-index: 10;
  cursor: pointer;
  pointer-events: none;
  background: url(../img/sprite.svg#icons--video) no-repeat center center/contain;
}

.gallery__video {
  display: block;
  height: 100%;
  width: 100%;
  cursor: pointer;
  border-radius: 4px;
  background: -webkit-image-set(url(../img/gallery/video-prewie.avif) type("image/avif"), url(../img/gallery/video-prewie.webp) type("image/webp"), url(../img/gallery/video-prewie.jpg)) no-repeat center center/cover;
  background: image-set(url(../img/gallery/video-prewie.avif) type("image/avif"), url(../img/gallery/video-prewie.webp) type("image/webp"), url(../img/gallery/video-prewie.jpg)) no-repeat center center/cover;
  transform-origin: 0% 0%;
  transform: scale(1);
  transition: transform 1s;
}

.gallery__video._animate-hidden {
  transform: scale(0.5);
}

.gallery__images {
  display: flex;
  align-items: flex-end;
  position: absolute;
  right: 40px;
  bottom: -40px;
  left: -40px;
  left: -40px;
  pointer-events: none;
}

.gallery__img {
  pointer-events: all;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
}

.gallery__img img {
  border-radius: 4px;
}

.gallery__img-link {
  display: block;
  transform-origin: 0% 0%;
  transform: scale(1);
  transition: transform 1s;
}

.gallery__img-link._animate-hidden {
  transform: scale(0.5);
}

.gallery__img-link:first-child {
  width: 50%;
  margin-right: 12px;
}

.gallery__img-link:nth-child(2) {
  margin-right: 8px;
}

.gallery__bg-brown {
  top: -120px;
  right: -350px;
  z-index: -1;
  width: 734px;
  height: 678px;
  background: url(../img/sprite.svg#background--brown) no-repeat center center/cover;
}

.gallery__bg-red {
  top: -257px;
  right: -390px;
  z-index: -1;
  width: 734px;
  height: 678px;
  background: url(../img/sprite.svg#background--red) no-repeat center center/cover;
}

.gallery__images-popup .popup__img img {
  display: block;
  margin: 0 auto;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.gallery__video-popup .popup__content {
  padding: 20px;
}

.gallery__video-popup video {
  width: 100%;
}

.gallery__images-slider .swiper-slide {
  width: auto;
}

.comments {
  padding-top: 60px;
}

.comments__subtitle {
  margin-bottom: 12px;
}

.comments__title {
  margin-bottom: 40px;
  opacity: 1;
  transform: translateX(0px);
  transition: opacity 0.5s, transform 0.5s;
}

.comments__title._animate-hidden {
  opacity: 0;
  transform: translateX(-100px);
}

.comments__swiper {
  padding-bottom: 60px;
}

.comments__swiper-slide {
  width: auto;
}

.comments__swiper-slide:nth-child(1) .comment__slide-background {
  background-image: -webkit-image-set(url(../img/comments/bg1.avif) type("image/avif"), url(../img/comments/bg1.webp) type("image/webp"), url(../img/comments/bg1.jpg));
  background-image: image-set(url(../img/comments/bg1.avif) type("image/avif"), url(../img/comments/bg1.webp) type("image/webp"), url(../img/comments/bg1.jpg));
}

.comments__swiper-slide:nth-child(2) .comment__slide-background {
  background-image: -webkit-image-set(url(../img/comments/bg2.avif) type("image/avif"), url(../img/comments/bg2.webp) type("image/webp"), url(../img/comments/bg2.jpg));
  background-image: image-set(url(../img/comments/bg2.avif) type("image/avif"), url(../img/comments/bg2.webp) type("image/webp"), url(../img/comments/bg2.jpg));
}

.comments__swiper-slide:nth-child(3) .comment__slide-background {
  background-image: -webkit-image-set(url(../img/comments/bg3.avif) type("image/avif"), url(../img/comments/bg3.webp) type("image/webp"), url(../img/comments/bg3.jpg));
  background-image: image-set(url(../img/comments/bg3.avif) type("image/avif"), url(../img/comments/bg3.webp) type("image/webp"), url(../img/comments/bg3.jpg));
}

.comments__swiper-slide:nth-child(4) .comment__slide-background {
  background-image: -webkit-image-set(url(../img/comments/bg1.avif) type("image/avif"), url(../img/comments/bg1.webp) type("image/webp"), url(../img/comments/bg1.jpg));
  background-image: image-set(url(../img/comments/bg1.avif) type("image/avif"), url(../img/comments/bg1.webp) type("image/webp"), url(../img/comments/bg1.jpg));
}

.comments__swiper-slide:nth-child(5) .comment__slide-background {
  background-image: -webkit-image-set(url(../img/comments/bg2.avif) type("image/avif"), url(../img/comments/bg2.webp) type("image/webp"), url(../img/comments/bg2.jpg));
  background-image: image-set(url(../img/comments/bg2.avif) type("image/avif"), url(../img/comments/bg2.webp) type("image/webp"), url(../img/comments/bg2.jpg));
}

.articles {
  position: relative;
  padding-top: 60px;
  padding-bottom: 60px;
}

.articles__subtitle {
  margin-bottom: 12px;
}

.articles__title {
  max-width: 400px;
  margin-bottom: 24px;
  opacity: 1;
  transform: translateX(0px);
  transition: opacity 0.5s, transform 0.5s;
}

.articles__title._animate-hidden {
  opacity: 0;
  transform: translateX(-100px);
}

.articles__more-btn {
  display: block;
  margin: 0 auto 42px;
  padding: 12px 16px;
  border-radius: 32px;
  background: #CE401C;
  color: #fff;
  box-shadow: 2px 2px 2px #9d3115, -2px -2px 2px #ff4f23;
  transition: box-shadow 0.3s, background 0.3s;
}

.articles__more-btn:active {
  background: #ae3c1f;
  box-shadow: 2px 2px 8px #842e18, -2px -2px 8px #d84a26;
}

.articles__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 33px;
  -moz-column-gap: 68px;
       column-gap: 68px;
}

.articles__item {
  padding-bottom: 10px;
}

.articles__bg-brown {
  top: -105px;
  left: -300px;
  z-index: -1;
  width: 734px;
  height: 678px;
  background: url(../img/sprite.svg#background--brown) no-repeat center center/cover;
}

.articles__bg-red {
  top: -290px;
  left: -380px;
  z-index: -1;
  width: 734px;
  height: 678px;
  background: url(../img/sprite.svg#background--red) no-repeat center center/cover;
}

.subscribe {
  padding-top: 60px;
  padding-bottom: 60px;
}

.subscribe__inner {
  position: relative;
  padding-right: 15px;
  padding-left: 15px;
  padding-top: 65px;
  padding-bottom: 65px;
  border-radius: 32px;
  box-shadow: 0px 1.6599999666px 4px 0px rgba(0, 0, 0, 0.25);
  font-size: 81px;
}

.subscribe__title {
  position: relative;
  z-index: 2;
  max-width: 430px;
  margin-bottom: 32px;
  opacity: 1;
  transform: translateY(0px);
  transition: opacity 0.5s, transform 0.5s;
}

.subscribe__title._animate-hidden {
  opacity: 0;
  transform: translateY(-100px);
}

.subscribe__search {
  position: relative;
  z-index: 2;
  max-width: 500px;
  margin: 0 auto;
}

.subscribe__decor {
  position: absolute;
  height: 1em;
}

.subscribe__decor img {
  border-radius: 0.3em;
  transform: scale(1);
  transition: transform 0.5s;
}

.subscribe__decor img._animate-hidden {
  transform: scale(0);
}

.subscribe__decor:nth-of-type(1) {
  height: 1em;
  top: 38px;
  left: 44px;
}

.subscribe__decor:nth-of-type(1) img {
  height: 1em;
}

.subscribe__decor:nth-of-type(2) {
  height: 0.67em;
  bottom: 40px;
  left: 195px;
}

.subscribe__decor:nth-of-type(2) img {
  height: 0.67em;
}

.subscribe__decor:nth-of-type(3) {
  height: 1em;
  bottom: 38px;
  right: 44px;
}

.subscribe__decor:nth-of-type(3) img {
  height: 1em;
}

.subscribe__decor:nth-of-type(4) {
  height: 0.67em;
  top: 44px;
  right: 200px;
}

.subscribe__decor:nth-of-type(4) img {
  height: 0.67em;
}

.subscribe__decor:nth-of-type(5) {
  border-radius: 50%;
  box-shadow: 0px 9px 32px 0px rgba(89, 92, 219, 0.1);
  height: 0.5em;
  left: 67px;
  bottom: 103px;
}

.subscribe__decor:nth-of-type(5) img {
  height: 0.5em;
  border: 2px solid #FFF;
}

.subscribe__decor:nth-of-type(6) {
  border-radius: 50%;
  box-shadow: 0px 9px 32px 0px rgba(89, 92, 219, 0.1);
  height: 0.5em;
  right: 67px;
  top: 103px;
}

.subscribe__decor:nth-of-type(6) img {
  height: 0.5em;
  border: 2px solid #FFF;
}

.subscribe__decor:nth-of-type(7) {
  border-radius: 50%;
  box-shadow: 0px 9px 32px 0px rgba(89, 92, 219, 0.1);
  height: 0.5em;
  top: 71px;
  left: 204px;
}

.subscribe__decor:nth-of-type(7) img {
  height: 0.5em;
  border: 2px solid #FFF;
}

.subscribe__decor:nth-of-type(8) {
  border-radius: 50%;
  box-shadow: 0px 9px 32px 0px rgba(89, 92, 219, 0.1);
  height: 0.5em;
  bottom: 75px;
  right: 204px;
}

.subscribe__decor:nth-of-type(8) img {
  height: 0.5em;
  border: 2px solid #FFF;
}

.footer {
  overflow: hidden;
  position: relative;
  padding-top: 60px;
  padding-bottom: 60px;
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  row-gap: 24px;
}

.footer__left {
  grid-column: span 3;
}

.footer__text {
  max-width: 350px;
  color: #626687;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer__column {
  padding-right: 15px;
  align-self: start;
  display: grid;
  transition: grid-template-rows 0.3s;
  grid-template-rows: auto 0;
}

.footer__column--visible .footer__column-list {
  opacity: 1;
  z-index: 1;
}

.footer__column--visible:nth-child(2) {
  grid-template-rows: auto 92px;
}

.footer__column--visible:nth-child(3) {
  grid-template-rows: auto 126px;
}

.footer__column--visible:nth-child(4) {
  grid-template-rows: auto 92px;
}

.footer__column-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #0E1735;
  font-size: 18px;
  font-weight: 600;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  padding-bottom: 1.33em;
}

.footer__column-title svg {
  flex: 0 0 auto;
  display: none;
  transform: rotate(-90deg);
  transition: transform 0.3s;
}

.footer__column-list {
  position: relative;
  transition: opacity 0.3s;
}

.footer__list-item:not(:last-child) {
  margin-bottom: 0.7em;
}

.footer__list-link {
  display: inline-block;
  padding: 4px 0;
  color: #888B97;
  font-size: 15px;
  font-weight: 400;
  text-transform: capitalize;
  transition: color 0.3s;
}

.footer__list-link:active {
  color: #F59E0B;
}

.footer__bg-violet {
  bottom: -146px;
  right: -430px;
  z-index: -1;
  width: 734px;
  height: 678px;
}

.footer__bg-red {
  bottom: -350px;
  right: -390px;
  z-index: -1;
  width: 734px;
  height: 678px;
}

@media (max-width: 1230px) {
  .houses__offers {
    padding: 0 15px 0 55px;
  }
}

@media (max-width: 1200px) {
  .search__icon {
    flex-basis: calc(35px + 25 * ((100vw - 375px) / (1200 - 375)));
  }

  .search__icon {
    height: calc(18px + 6 * ((100vw - 375px) / (1200 - 375)));
  }

  .search__input {
    font-size: calc(13px + 5 * ((100vw - 375px) / (1200 - 375)));
  }

  .search__button {
    padding-top: calc(6px + 6 * ((100vw - 375px) / (1200 - 375)));
  }

  .search__button {
    padding-bottom: calc(6px + 6 * ((100vw - 375px) / (1200 - 375)));
  }

  .search__button {
    padding-left: calc(12px + 4 * ((100vw - 375px) / (1200 - 375)));
  }

  .search__button {
    padding-right: calc(12px + 4 * ((100vw - 375px) / (1200 - 375)));
  }

  .search__button {
    font-size: calc(12px + 4 * ((100vw - 375px) / (1200 - 375)));
  }

  .search__button--arrow {
    padding-right: calc(25px + 15 * ((100vw - 375px) / (1200 - 375)));
  }

  .search__button--arrow::after {
    width: calc(10px + 14 * ((100vw - 375px) / (1200 - 375)));
  }

  .search__button--arrow::after {
    height: calc(10px + 14 * ((100vw - 375px) / (1200 - 375)));
  }

  .search__button--arrow::after {
    right: calc(10px + 4 * ((100vw - 375px) / (1200 - 375)));
  }

  .action {
    padding: calc(10px + 14 * ((100vw - 375px) / (1200 - 375)));
  }

  .subtitle {
    font-size: calc(13px + 1 * ((100vw - 375px) / (1200 - 375)));
  }

  .title {
    font-size: calc(24px + 8 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer {
    width: calc(270px + 70 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer__img-block {
    height: calc(305px + 77 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer__img-block {
    margin-bottom: calc(16px + 8 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer__title {
    font-size: calc(18px + 6 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer__title {
    margin-bottom: calc(0px + 8 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer__price {
    font-size: calc(15px + 5 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer__price {
    margin-bottom: calc(12px + 12 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-popular .offer__img-block::before {
    padding-top: calc(5px + 3 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-popular .offer__img-block::before {
    padding-right: calc(12px + 4 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-popular .offer__img-block::before {
    padding-bottom: calc(5px + 3 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-popular .offer__img-block::before {
    padding-left: calc(27px + 15 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-popular .offer__img-block::before {
    bottom: calc(10px + 6 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-popular .offer__img-block::before {
    left: calc(10px + 6 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-popular .offer__img-block::before {
    font-size: calc(10px + 4 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-popular .offer__img-block::after {
    bottom: calc(15px + 9 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-popular .offer__img-block::after {
    left: calc(18px + 14 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-popular .offer__img-block::after {
    width: calc(13px + 7 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-popular .offer__img-block::after {
    height: calc(13px + 7 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-new .offer__img-block::before {
    padding-top: calc(5px + 3 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-new .offer__img-block::before {
    padding-right: calc(12px + 4 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-new .offer__img-block::before {
    padding-bottom: calc(5px + 3 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-new .offer__img-block::before {
    padding-left: calc(27px + 15 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-new .offer__img-block::before {
    bottom: calc(10px + 6 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-new .offer__img-block::before {
    left: calc(10px + 6 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-new .offer__img-block::before {
    font-size: calc(10px + 4 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-new .offer__img-block::after {
    bottom: calc(15px + 9 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-new .offer__img-block::after {
    left: calc(18px + 14 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-new .offer__img-block::after {
    width: calc(13px + 7 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-new .offer__img-block::after {
    height: calc(13px + 7 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-best .offer__img-block::before {
    padding-top: calc(5px + 3 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-best .offer__img-block::before {
    padding-right: calc(12px + 4 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-best .offer__img-block::before {
    padding-bottom: calc(5px + 3 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-best .offer__img-block::before {
    padding-left: calc(27px + 15 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-best .offer__img-block::before {
    bottom: calc(10px + 6 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-best .offer__img-block::before {
    left: calc(10px + 6 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-best .offer__img-block::before {
    font-size: calc(10px + 4 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-best .offer__img-block::after {
    bottom: calc(15px + 9 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-best .offer__img-block::after {
    left: calc(18px + 14 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-best .offer__img-block::after {
    width: calc(13px + 7 * ((100vw - 375px) / (1200 - 375)));
  }

  .offer--badge-best .offer__img-block::after {
    height: calc(13px + 7 * ((100vw - 375px) / (1200 - 375)));
  }

  .user__photo {
    width: calc(34px + 6 * ((100vw - 375px) / (1200 - 375)));
  }

  .user__photo {
    height: calc(34px + 6 * ((100vw - 375px) / (1200 - 375)));
  }

  .user__photo {
    margin-right: calc(14px + 2 * ((100vw - 375px) / (1200 - 375)));
  }

  .user__name {
    font-size: calc(14px + 4 * ((100vw - 375px) / (1200 - 375)));
  }

  .user__name {
    margin-bottom: calc(2px + 2 * ((100vw - 375px) / (1200 - 375)));
  }

  .user__info {
    font-size: calc(10px + 4 * ((100vw - 375px) / (1200 - 375)));
  }

  .rate {
    max-width: calc(90px + 20 * ((100vw - 375px) / (1200 - 375)));
  }

  .rate svg {
    height: calc(20px + 8 * ((100vw - 375px) / (1200 - 375)));
  }

  .rate svg {
    width: calc(20px + 8 * ((100vw - 375px) / (1200 - 375)));
  }

  .rate-num {
    margin-left: calc(8px + 4 * ((100vw - 375px) / (1200 - 375)));
  }

  .rate-num {
    font-size: calc(16px + 4 * ((100vw - 375px) / (1200 - 375)));
  }

  .comment__slide-bg-wrap {
    height: calc(260px + 140 * ((100vw - 375px) / (1200 - 375)));
  }

  .comment__slide {
    width: calc(345px + 395 * ((100vw - 375px) / (1200 - 375)));
  }

  .comment__content {
    width: calc(315px + 297 * ((100vw - 375px) / (1200 - 375)));
  }

  .comment__content {
    padding-top: calc(20px + 12 * ((100vw - 374px) / (1200 - 374)));
  }

  .comment__content {
    padding-right: calc(20px + 12 * ((100vw - 374px) / (1200 - 374)));
  }

  .comment__content {
    padding-bottom: calc(20px + 12 * ((100vw - 374px) / (1200 - 374)));
  }

  .comment__content {
    padding-left: calc(20px + 12 * ((100vw - 374px) / (1200 - 374)));
  }

  .comment__title {
    margin-bottom: calc(13px + 3 * ((100vw - 375px) / (1200 - 375)));
  }

  .comment__title {
    font-size: calc(16px + 4 * ((100vw - 375px) / (1200 - 375)));
  }

  .comment__text {
    font-size: calc(12px + 2 * ((100vw - 375px) / (1200 - 375)));
  }

  .comment__text {
    margin-bottom: calc(16px + 8 * ((100vw - 375px) / (1200 - 375)));
  }

  .swiper__pagination .swiper-pagination-bullet {
    width: calc(6px + 2 * ((100vw - 375px) / (1200 - 375)));
  }

  .swiper__pagination .swiper-pagination-bullet {
    height: calc(6px + 2 * ((100vw - 375px) / (1200 - 375)));
  }

  .article__img-link {
    height: calc(80px + 64 * ((100vw - 730px) / (1200 - 730)));
  }

  .article__img-link {
    width: calc(80px + 120 * ((100vw - 730px) / (1200 - 730)));
  }

  .article__img-link {
    margin-right: calc(12px + 20 * ((100vw - 375px) / (1200 - 375)));
  }

  .article h3 a {
    font-size: calc(16px + 2 * ((100vw - 375px) / (1200 - 375)));
  }

  .header {
    padding-bottom: calc(20px + 40 * ((100vw - 375px) / (1200 - 375)));
  }

  .header__left-box-bg-red {
    width: calc(520px + 214 * ((100vw - 375px) / (1200 - 375)));
  }

  .header__left-box-bg-red {
    height: calc(480px + 198 * ((100vw - 375px) / (1200 - 375)));
  }

  .header__left-box-bg-pink {
    width: calc(520px + 214 * ((100vw - 375px) / (1200 - 375)));
  }

  .header__left-box-bg-pink {
    height: calc(480px + 198 * ((100vw - 375px) / (1200 - 375)));
  }

  .header__title {
    width: calc(240px + 140 * ((100vw - 375px) / (1200 - 375)));
  }

  .header__title {
    font-size: calc(28px + 12 * ((100vw - 375px) / (1200 - 375)));
  }

  .header__text {
    font-size: calc(14px + 2 * ((100vw - 375px) / (1200 - 375)));
  }

  .header__text {
    width: calc(270px + 226 * ((100vw - 375px) / (1200 - 375)));
  }

  .header__text {
    padding-bottom: calc(25px + 12 * ((100vw - 375px) / (1200 - 375)));
  }

  .header__partnership {
    margin-top: calc(36px + 36 * ((100vw - 375px) / (1200 - 375)));
  }

  .header__partnership-text {
    font-size: calc(14px + 4 * ((100vw - 375px) / (1200 - 375)));
  }

  .header__nav-item + .header__nav-item {
    margin-left: calc(6px + 18 * ((100vw - 375px) / (1200 - 375)));
  }

  .header__nav-link,
  .header__nav-btn {
    padding-top: calc(6px + 2 * ((100vw - 830px) / (1200 - 830)));
  }

  .header__nav-link,
  .header__nav-btn {
    padding-bottom: calc(6px + 2 * ((100vw - 830px) / (1200 - 830)));
  }

  .header__nav-link,
  .header__nav-btn {
    padding-left: calc(14px + 2 * ((100vw - 830px) / (1200 - 830)));
  }

  .header__nav-link,
  .header__nav-btn {
    padding-right: calc(14px + 2 * ((100vw - 830px) / (1200 - 830)));
  }

  .header__nav-link,
  .header__nav-btn {
    font-size: calc(11px + 3 * ((100vw - 830px) / (1200 - 830)));
  }

  .header__nav-link--red,
  .header__nav-btn--red {
    padding-top: calc(9px + 2 * ((100vw - 830px) / (1200 - 830)));
  }

  .header__nav-link--red,
  .header__nav-btn--red {
    padding-bottom: calc(9px + 2 * ((100vw - 830px) / (1200 - 830)));
  }

  .header__nav-link--red,
  .header__nav-btn--red {
    padding-left: calc(18px + 6 * ((100vw - 830px) / (1200 - 830)));
  }

  .header__nav-link--red,
  .header__nav-btn--red {
    padding-right: calc(18px + 6 * ((100vw - 830px) / (1200 - 830)));
  }

  .header__nav-link--red,
  .header__nav-btn--red {
    font-size: calc(13px + 3 * ((100vw - 830px) / (1200 - 830)));
  }

  .header__nav-btn-icon {
    height: calc(14px + 4 * ((100vw - 830px) / (1200 - 830)));
  }

  .houses {
    padding-top: calc(20px + 40 * ((100vw - 375px) / (1200 - 375)));
  }

  .houses {
    padding-bottom: calc(20px + 40 * ((100vw - 375px) / (1200 - 375)));
  }

  .houses__nav-item {
    font-size: calc(14px + 4 * ((100vw - 375px) / (1200 - 375)));
  }

  .houses__nav-item {
    padding-top: calc(8px + 4 * ((100vw - 375px) / (1200 - 375)));
  }

  .houses__nav-item {
    padding-right: calc(14px + 10 * ((100vw - 375px) / (1200 - 375)));
  }

  .houses__nav-item {
    padding-bottom: calc(8px + 4 * ((100vw - 375px) / (1200 - 375)));
  }

  .houses__nav-item {
    padding-left: calc(14px + 10 * ((100vw - 375px) / (1200 - 375)));
  }

  .houses__nav-item + .houses__nav-item {
    margin-left: calc(10px + 22 * ((100vw - 375px) / (1200 - 375)));
  }

  .houses__nav-item svg {
    width: calc(20px + 4 * ((100vw - 375px) / (1200 - 375)));
  }

  .houses__nav-item svg {
    height: calc(20px + 4 * ((100vw - 375px) / (1200 - 375)));
  }

  .gallery {
    padding-top: calc(20px + 40 * ((100vw - 375px) / (1200 - 375)));
  }

  .gallery {
    padding-bottom: calc(20px + 40 * ((100vw - 375px) / (1200 - 375)));
  }

  .gallery__user-contact-link {
    padding-right: calc(14px + 2 * ((100vw - 375px) / (1200 - 375)));
  }

  .gallery__user-contact-link {
    padding-left: calc(14px + 2 * ((100vw - 375px) / (1200 - 375)));
  }

  .gallery__video-wrap {
    width: calc(340px + 148 * ((100vw - 830px) / (1200 - 830)));
  }

  .gallery__video-wrap {
    height: calc(360px + 56 * ((100vw - 830px) / (1200 - 830)));
  }

  .gallery__images {
    left: calc(-5px + -35 * ((100vw - 375px) / (1200 - 375)));
  }

  .gallery__bg-brown {
    width: calc(520px + 214 * ((100vw - 375px) / (1200 - 375)));
  }

  .gallery__bg-brown {
    height: calc(480px + 198 * ((100vw - 375px) / (1200 - 375)));
  }

  .gallery__bg-red {
    width: calc(520px + 214 * ((100vw - 375px) / (1200 - 375)));
  }

  .gallery__bg-red {
    height: calc(480px + 198 * ((100vw - 375px) / (1200 - 375)));
  }

  .comments {
    padding-top: calc(20px + 40 * ((100vw - 375px) / (1200 - 375)));
  }

  .comments__subtitle {
    margin-bottom: calc(8px + 4 * ((100vw - 375px) / (1200 - 375)));
  }

  .comments__title {
    margin-bottom: calc(20px + 20 * ((100vw - 375px) / (1200 - 375)));
  }

  .comments__swiper {
    padding-bottom: calc(20px + 40 * ((100vw - 375px) / (1200 - 375)));
  }

  .articles {
    padding-top: calc(20px + 40 * ((100vw - 375px) / (1200 - 375)));
  }

  .articles {
    padding-bottom: calc(20px + 40 * ((100vw - 375px) / (1200 - 375)));
  }

  .articles__list {
    -moz-column-gap: calc(16px + 52 * ((100vw - 375px) / (1200 - 375)));
         column-gap: calc(16px + 52 * ((100vw - 375px) / (1200 - 375)));
  }

  .articles__bg-brown {
    width: calc(520px + 214 * ((100vw - 375px) / (1200 - 375)));
  }

  .articles__bg-brown {
    height: calc(480px + 198 * ((100vw - 375px) / (1200 - 375)));
  }

  .articles__bg-red {
    width: calc(520px + 214 * ((100vw - 375px) / (1200 - 375)));
  }

  .articles__bg-red {
    height: calc(480px + 198 * ((100vw - 375px) / (1200 - 375)));
  }

  .subscribe {
    padding-top: calc(20px + 40 * ((100vw - 375px) / (1200 - 375)));
  }

  .subscribe {
    padding-bottom: calc(20px + 40 * ((100vw - 375px) / (1200 - 375)));
  }

  .subscribe__inner {
    padding-top: calc(170px + -105 * ((100vw - 375px) / (1200 - 375)));
  }

  .subscribe__inner {
    padding-bottom: calc(170px + -105 * ((100vw - 375px) / (1200 - 375)));
  }

  .subscribe__inner {
    font-size: calc(50px + 31 * ((100vw - 375px) / (1200 - 375)));
  }

  .subscribe__decor:nth-of-type(2) {
    bottom: calc(90px + -50 * ((100vw - 375px) / (1200 - 375)));
  }

  .subscribe__decor:nth-of-type(2) {
    left: calc(55px + 140 * ((100vw - 375px) / (1200 - 375)));
  }

  .subscribe__decor:nth-of-type(4) {
    top: calc(100px + -56 * ((100vw - 375px) / (1200 - 375)));
  }

  .subscribe__decor:nth-of-type(4) {
    right: calc(55px + 145 * ((100vw - 375px) / (1200 - 375)));
  }

  .subscribe__decor:nth-of-type(5) {
    bottom: calc(133px + -30 * ((100vw - 375px) / (1200 - 375)));
  }

  .subscribe__decor:nth-of-type(6) {
    top: calc(133px + -30 * ((100vw - 375px) / (1200 - 375)));
  }

  .subscribe__decor:nth-of-type(7) {
    top: calc(185px + -114 * ((100vw - 732px) / (1200 - 732)));
  }

  .subscribe__decor:nth-of-type(7) {
    left: calc(120px + 84 * ((100vw - 732px) / (1200 - 732)));
  }

  .subscribe__decor:nth-of-type(8) {
    bottom: calc(190px + -115 * ((100vw - 732px) / (1200 - 732)));
  }

  .subscribe__decor:nth-of-type(8) {
    right: calc(120px + 84 * ((100vw - 732px) / (1200 - 732)));
  }

  .footer {
    padding-top: calc(20px + 40 * ((100vw - 375px) / (1200 - 375)));
  }

  .footer {
    padding-bottom: calc(20px + 40 * ((100vw - 375px) / (1200 - 375)));
  }

  .footer__text {
    font-size: calc(12px + 3 * ((100vw - 375px) / (1200 - 375)));
  }

  .footer__list-link {
    font-size: calc(12px + 3 * ((100vw - 375px) / (1200 - 375)));
  }

  .footer__bg-violet {
    right: calc(-370px + -60 * ((100vw - 375px) / (1200 - 375)));
  }

  .footer__bg-violet {
    width: calc(520px + 214 * ((100vw - 375px) / (1200 - 375)));
  }

  .footer__bg-violet {
    height: calc(480px + 198 * ((100vw - 375px) / (1200 - 375)));
  }

  .footer__bg-red {
    right: calc(-230px + -160 * ((100vw - 375px) / (1200 - 375)));
  }

  .footer__bg-red {
    width: calc(520px + 214 * ((100vw - 375px) / (1200 - 375)));
  }

  .footer__bg-red {
    height: calc(480px + 198 * ((100vw - 375px) / (1200 - 375)));
  }
}

@media (max-width: 950px) {
  .houses__slide-inner {
    display: none;
  }
}

@media (max-width: 850px) {
  .subscribe__decor:nth-of-type(5) {
    bottom: 20px;
    left: 480px;
  }

  .subscribe__decor:nth-of-type(6) {
    top: 20px;
    right: 480px;
  }
}

@media (max-width: 850px) and (max-width: 1200px) {
  .subscribe__decor:nth-of-type(5) {
    left: calc(122px + 358 * ((100vw - 375px) / (1200 - 375)));
  }

  .subscribe__decor:nth-of-type(6) {
    right: calc(122px + 358 * ((100vw - 375px) / (1200 - 375)));
  }
}

@media (max-width: 832px) {
  .footer__container {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__left {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer__text {
    text-align: center;
  }
}

@media (max-width: 830px) {
  .actions__container {
    padding: 0 15px;
  }

  #new-article {
    grid-row: 1/1;
    grid-column: 1/2;
  }

  #new-article .article {
    flex-direction: row-reverse;
  }

  #new-article .article__img-link {
    width: 50%;
    margin-left: 32px;
  }

  .article__img-link {
    height: 208px;
    width: 288px;
  }

  .header__nav {
    max-width: unset;
    margin: 20px 0;
  }

  .header__nav-link,
  .header__nav-btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  .header__nav-link--red,
  .header__nav-btn--red {
    font-size: 16px;
  }

  .header__nav-btn-icon {
    height: 18px;
  }

  .gallery__side {
    width: 100%;
  }

  .gallery__right {
    display: none;
  }

  .gallery__title {
    margin-left: 0;
  }

  .gallery__left-inner {
    max-width: unset;
    margin-left: 0;
  }

  .gallery__details-item {
    width: 25%;
  }

  .gallery__video-wrap {
    margin: 0 auto 70px auto;
    width: 800px;
    height: 600px;
  }

  .articles__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 830px) and (max-width: 1200px) {
  #new-article .article__img-link {
    margin-left: calc(12px + 20 * ((100vw - 375px) / (1200 - 375)));
  }

  .article__img-link {
    height: calc(80px + 128 * ((100vw - 375px) / (1200 - 375)));
  }

  .article__img-link {
    width: calc(80px + 208 * ((100vw - 375px) / (1200 - 375)));
  }

  .gallery__video-wrap {
    width: calc(345px + 455 * ((100vw - 375px) / (1200 - 375)));
  }

  .gallery__video-wrap {
    height: calc(268px + 332 * ((100vw - 375px) / (1200 - 375)));
  }
}

@media (max-width: 768px) {
  .houses__title {
    margin-top: 8px;
    margin-bottom: 20px;
  }

  .houses__nav {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .houses__offers {
    padding-left: 15px;
  }
}

@media (max-width: 732px) {
  .subscribe__decor:nth-of-type(7) {
    top: 45px;
    left: 380px;
  }

  .subscribe__decor:nth-of-type(8) {
    bottom: 35px;
    right: 380px;
  }
}

@media (max-width: 732px) and (max-width: 1200px) {
  .subscribe__decor:nth-of-type(7) {
    top: calc(127px + -82 * ((100vw - 375px) / (1200 - 375)));
  }

  .subscribe__decor:nth-of-type(7) {
    left: calc(110px + 270 * ((100vw - 375px) / (1200 - 375)));
  }

  .subscribe__decor:nth-of-type(8) {
    bottom: calc(117px + -82 * ((100vw - 375px) / (1200 - 375)));
  }

  .subscribe__decor:nth-of-type(8) {
    right: calc(110px + 270 * ((100vw - 375px) / (1200 - 375)));
  }
}

@media (max-width: 730px) {
  .gallery__details-item {
    width: 50%;
  }
}

@media (max-width: 502px) {
  #new-article .article {
    flex-direction: column;
  }

  #new-article .article__img-link {
    width: 100%;
    margin: 2px 0 24px;
  }

  .footer__container {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }

  .footer__left {
    grid-column: span 1;
  }

  .footer__column-title {
    padding: 6px 0 6px;
    cursor: pointer;
  }

  .footer__column-title svg {
    display: block;
  }

  .footer__column-list {
    z-index: -1;
    opacity: 0;
  }

  .footer__list-link {
    display: block;
  }
}

@media (any-hover: hover) {
  .search__button:hover {
    background-color: #b94021;
  }

  .social__link:hover {
    color: #F59E0B;
  }

  .social__link:active {
    color: #CE401C;
  }

  .popup__close:hover {
    color: #CE401C;
  }

  .popup__close:active {
    color: #CE401C;
  }

  .header__nav-link:hover,
  .header__nav-btn:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.3);
  }

  .header__nav-link:active,
  .header__nav-btn:active {
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.45);
  }

  .header__nav-link--red:hover,
  .header__nav-btn--red:hover {
    background: rgba(206, 64, 28, 0.35);
  }

  .header__nav-link--red:active,
  .header__nav-btn--red:active {
    background: rgba(206, 64, 28, 0.55);
    color: #fff;
  }

  .houses__slide-btn:hover {
    color: #CE401C;
    background: rgba(206, 64, 28, 0.17);
  }

  .houses__slide-btn:active {
    color: #fff;
    background: #CE401C;
  }

  .gallery__user-contact-link:hover {
    opacity: 1;
    box-shadow: 2px 2px 8px #d08609, -2px -2px 8px #ffb60d;
  }

  .gallery__user-contact-link:active {
    background-color: #CE401C;
    box-shadow: 2px 2px 8px #9d3115, -2px -2px 8px #ff4f23;
  }

  .gallery__video:hover {
    transform: scale(1.04);
  }

  .gallery__img-link:hover {
    transform: scale(1.05);
  }

  .articles__more-btn:hover {
    box-shadow: 2px 2px 8px #9d3115, -2px -2px 8px #ff4f23;
  }

  .articles__more-btn:active {
    background: #ae3c1f;
    box-shadow: 2px 2px 8px #842e18, -2px -2px 8px #d84a26;
  }

  .footer__list-link:hover {
    color: #F59E0B;
  }

  .footer__list-link:active {
    color: #CE401C;
  }
}