* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  box-sizing: border-box;
}
img {
  width: 100%;
  max-width: 100%;
}
.wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
}
.header-wrapper {
  padding: 50px 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-right img {
  width: 47px;
  height: 47px;
}
.btn {
  display: inline-block;
  padding: 17px 32px;
  text-transform: uppercase;
  border: 1px solid #000000;
}
.footer-section {
  background-color: #f2f2f2;
}
.footer-wrapper {
  padding: 103px 120px 35px 120px;
}
.footer-main {
  display: flex;
}
.footer-main-left-content {
  margin-top: 66px;
}
.footer-main-left-left,
.footer-main-left-right {
  width: 50%;
  padding-left: 24px;
  border-left: 1px solid #000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.footer-main-left-content {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}
.footer-main-left-left-content {
  max-width: 222px;
}
.footer-main-left-left-title span {
  font-family: "Mori";
  font-weight: 500;
  font-size: 14px;
  line-height: 26px;
}
.footer-main-left-left-content {
  margin-top: 22px;
}
.footer-main-left-left-content span {
  font-family: "Mori";
  font-weight: 300;
  font-size: 13px;
  line-height: 21px;
}
.footer-main-left-left-email {
  margin-top: 24px;
}
.footer-main-left-left-tel {
  margin-top: 18px;
}
.footer-main-left-left-email a,
.footer-main-left-left-tel a {
  font-family: "Mori";
  font-weight: 300;
  font-size: 13px;
  line-height: 22px;
  color: #000;
}
.footer-bot {
  margin-top: 103px;
  text-align: right;
}
.footer-bot span {
  font-family: "Mori";
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0%;
  color: #5e5e5e;
}
.footer-main-left {
  padding-right: 75px;
  border-right: 1px solid #dbdbdb;
}
.footer-main-right {
  padding-left: 75px;
}
.footer-main-right-title span {
  font-family: "Mori";
  font-weight: 500;
  font-size: 11px;
  color: #5e5e5e;
  text-transform: uppercase;
}
.footer-main-right-links {
  margin-top: 43px;
  display: flex;
  gap: 93px;
}
.footer-main-right-links a {
  font-family: "Mori";
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0%;
  color: #000;
  display: inline-block;
  margin-top: 16px;
}
.footer-main-right-links-left,
.footer-main-right-links-right {
  display: flex;
  flex-direction: column;
}
.footer-contact-block {
  margin-top: 24px;
}
.title-section {
  background-color: #000;
  color: #fff;
  padding: 56px 0;
}
.title-wrapper {
  padding-left: 30px;
  position: relative;
}
.title-wrapper::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 80%;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
}
.title-block {
  max-width: 611px;
}
.title-block h2 {
  font-family: "Playfair Display";
  font-weight: 400;
  font-size: 40px;
}
.title-block p {
  margin-top: 35px;
  font-family: "Mori";
  font-weight: 300;
  font-size: 15px;
  line-height: 26px;
}
.footer-main-left-title img {
  max-width: 338px;
}
h1 {
  font-family: "Playfair Display";
  font-weight: 400;
  font-size: 40px;
}
.third-apartment-block {
  margin-top: 40px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.third-apartment-item {
  width: calc(33.333% - 19px);
}
.third-apartment-info {
  margin-top: 24px;
}
.third-apartment-status span {
  font-family: "Mori";
  font-weight: 300;
  font-size: 13px;
  color: #505050;
}
.third-apartment-title {
  margin-top: 20px;
}
.third-apartment-title span {
  font-family: "Playfair Display";
  font-weight: 400;
  font-size: 24px;
}
.third-apartment-addinfo {
  margin-top: 22px;
  display: flex;
  gap: 32px;
}
.third-apartment-addinfo-item {
  padding-right: 16px;
  position: relative;
}
.third-apartment-addinfo-item:not(:last-child):before {
  width: 1px;
  background-color: #e1e1e1;
  height: 15px;
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.third-apartment-addinfo-item span {
  font-family: "Mori";
  font-weight: 300;
  font-size: 15px;
}
.third-apartment-price {
  margin-top: 26px;
}
.third-apartment-price span {
  font-family: "Mori";
  font-weight: 300;
  font-size: 15px;
}
.third-apartment-more {
  margin-top: 18px;
  border-top: 1px solid #e1e1e1;
  padding-top: 20px;
}
.third-apartment-more a {
  font-family: "Mori";
  font-weight: 300;
  font-size: 15px;
  color: #000000;
  display: flex;
  gap: 12px;
  align-items: center;
}
.third-apartment-more img {
  width: 17px;
}
.third-apartment-item > img {
  max-width: 100%;
  width: 100%;
}
.first-pagination {
  margin-bottom: 91px;
}
.pagination-list {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.pagination-prev {
  width: 8px;
  height: 14px;
  background-image: url("../imgs/arr-unactive.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 16px;
  cursor: pointer;
}
.pagination-next {
  width: 8px;
  height: 14px;
  background-image: url("../imgs/arr-active.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 16px;
  cursor: pointer;
}
.pagination-item {
  width: 32px;
  height: 32px;
  border: 1px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Mori";
  font-weight: 300;
  font-size: 14px;
  cursor: pointer;
}
.pagination-item.active {
  color: #fff;
  background-color: #000;
  font-weight: 700;
}
.fourth {
  margin-top: 78px;
}
.fourth-btn {
  margin-top: 0;
}
.fourth-btn .btn {
  color: #fff;
  background-color: #000;
  position: relative;
  padding: 17px 32px;
  padding-left: 54px;
  font-family: "Mori";
}
.fourth-btn .btn::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 11px;
  background-image: url("../imgs/filter-white.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  top: 50%;
  transform: translateY(-50%);
  left: 32px;
}
.third-apartment-block {
  margin-top: 29px;
}
.fourth-title-block a {
  font-family: "Mori";
  font-weight: 500;
  font-size: 15px;
  text-decoration: underline;
  color: #000;
}
.first-pagination {
  margin-top: 68px;
}
.first-tags {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}
.first-tags.dragging {
  user-select: none;
  cursor: grabbing;
}
.first-tags::-webkit-scrollbar {
  display: none;
}
.first-tag span {
  display: inline-block;
  padding: 17px 23px;
  border: 1px solid #464646;
  cursor: pointer;
  font-family: "Mori";
  font-weight: 500;
  font-size: 12px;
  line-height: 100%;
}
.first-tag span.active {
  color: #fff;
  background-color: #464646;
}
.fourth-btns {
  display: flex;
  justify-content: space-between;
  margin-top: 49px;
}
.sub-title {
  margin-top: 42px;
  max-width: 684px;
  padding-bottom: 67px;
  border-bottom: 1px solid #fff;
}
.sub-title p {
  font-family: "Mori";
  font-weight: 300;
  font-size: 15px;
  line-height: 30px;
}
.title-section-second-txt-block {
  margin-top: 56px;
}
.title-section-second-txt-block h2 {
  font-family: "Eiko";
  font-weight: 400;
  font-size: 32px;
}
.title-section-second-txt-block p {
  margin-top: 34px;
  font-family: "Mori";
  font-weight: 300;
  font-size: 15px;
  line-height: 30px;
  max-width: 684px;
}
.title-section {
  position: relative;
}
.title-section::before {
  content: "";
  position: absolute;
  width: 75%;
  height: 100%;
  right: 0;
  top: 0;
  background-position: right top;
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-image: url("../imgs/inter-img1.png");
}
.sub-title,
.title-section-second-txt-block {
  position: relative;
  z-index: 2;
}
.header-right .btn {
  font-family: "Mori";
  font-weight: 500;
  font-size: 12px;
  line-height: 100%;
  color: #000;
}
.header-wrapper {
  position: relative;
}
.header-mob {
  position: fixed;
  height: 100vh;
  width: 845px;
  max-width: 100vw;
  z-index: 100;
  backdrop-filter: blur(47px);
  background-color: rgba(0, 0, 0, 0.8);
  top: 0;
  padding-top: 188px;
  padding-left: 156px;
  transition: all 0.5s;
  right: -846px;
}
.header-mob.open {
  right: 0;
}
.header-mob-nav {
  position: relative;
}
.header-mob-nav-links {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.header-mob-nav-link {
  font-family: "Mori";
  font-weight: 500;
  font-size: 20px;
  color: #fff;
}
.header-mob-close {
  position: absolute;
  width: 47px;
  height: 47px;
  background-image: url("../imgs/close-mob-icon.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  right: 119px;
  top: -96px;
  cursor: pointer;
}
.burger-wrapper {
  width: 47px;
  height: 47px;
  cursor: pointer;
}
body.fixed {
  overflow: hidden;
}
.property-filter {
	display:none;
}
.property-filter.active {
	display:block;
}
.project-filter {
	display:none;
}
.project-filter.active {
	display:block;
}
.hero-search-block {
	position:relative;
}
.project-filter, .property-filter {
	background-color:#fff;
	margin-top: 20px;
    padding: 20px;
	width:592px;
	position:absolute;
	right:0;
	top: 100%;
	border:2px solid #000;
	max-height:512px;
	max-width:100%;
	overflow-y:scroll;
	z-index:5;
}
.filter-group:not(:last-child) {
	margin-bottom:30px;
}
.filter-group h3 {
	margin-bottom:10px;
	font-size:21px;
	font-family: "Playfair Display";
}
.filter-group-inner {
	display:flex;
	flex-wrap:wrap;
	gap:20px;
}
.filter-group-inner label {
	display:flex;
	gap:10px;
	font-family: "Mori";
    font-weight: 500;
	font-size:16px;
	cursor:pointer;
	align-items:center;
}
.filter-group-inner.checkboxes {
	gap:10px;
}
.filter-group-inner.checkboxes label {
	width:32%;
}
.filter-group-inner.beds {
	gap:20px;
}
.filter-group-inner.beds button {
	border:2px solid #000;
	display:flex;
	align-items:center;
	justify-content:center;
	padding:5px;
		font-family: "Mori";
    font-weight: 500;
	font-size:16px;
	outline:none;
	background-color:#fff;
	cursor:pointer;
}
.filter-group-inner.beds button.selected {
	background-color:#000;
	color:#fff;
}
.filter-group-inner input[type="checkbox"] {
	width:20px;
	height:20px;
}
.filter-group-inner.price {
	gap:20px;
	align-items:center;
}
.filter-group-inner.price input {
	padding:10px 12px;
	font-family: "Mori";
    font-weight: 500;
	font-size:16px;
}
.third-apartment-block {
    margin-top: 40px;
    display: flex;
    gap: 28px;
}
.third-apartment-item {
    position: relative;
}
.third-apartment-item {
    width: calc(33.333% - 19px);
    position: relative;
}
.third-apartment-item .tag-items {
    position: absolute;
    top: 13px;
    right: 13px;
    display: flex;
    gap: 10px;
}
.third-apartment-item > img {
    max-width: 100%;
    height: 254px;
}
.third-apartment-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}
.third-apartment-item .tag-items {
    position: absolute;
    top: 13px;
    right: 13px;
    display: flex;
    gap: 10px;
}
.third-apartment-item .tag-item {
    font-family: "Mori";
    padding: 7px;
    background-color: #fad6a5;
    color: #554a3b;
    border-radius: 2px;
}
.fourth-wrapper {
	margin-bottom:60px;
}
.pagination-item, .pagination-next, .pagination-prev {
	position:relative;
}
.pagination-item a, .pagination-next a, .pagination-prev a {
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
}
.pagination-item a {
	display:flex;
	align-items:center;
	justify-content:center;
	color:#000;
}
.pagination-next {
	background-image: url('../imgs/arr-unactive.svg');
	transform: scaleX(-1);
}
.pagination-next:has(a) {
	background-image: url('../imgs/arr-active.svg');
	transform: scaleX(1);
}
.pagination-prev {
    background-image: url('../imgs/arr-unactive.svg');
	transform: scaleX(1);
}
.pagination-prev:has(a) {
    background-image: url('../imgs/arr-active.svg');
	transform: scaleX(-1);
}
.first-pagination {
	margin-left:auto;
	margin-right:auto;
}
.fourth-btns {
	position:relative;
}
.fourth-slider-item {
    height: 570px;
    position: relative;
    overflow: hidden;
}
.fourth-slider-item {
    width: calc(33.3333% - 20px);
}
.fourth-slider-item > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fourth-slider-item img {
    max-width: 100%;
}
.fourth-slider-item a {
    position: absolute;
    width: calc(100% - 26px);
    bottom: 13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 36px 22px;
    color: #fff;
    backdrop-filter: blur(60px);
    font-family: "Playfair Display";
    font-weight: 400;
    font-size: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.fourth-slider-item a img {
    width: 22px;
}
.filter-apply {
		border:2px solid #000;
	display:flex;
	align-items:center;
	justify-content:center;
	padding:5px 20px;
		font-family: "Mori";
    font-weight: 500;
	font-size:18px;
	outline:none;
	background-color:#000;
	cursor:pointer;
	color:#fff;
}
@media screen and (max-width: 1280px) {
  .header-wrapper {
    padding: 50px 40px;
  }
  .first-wrapper,
  .second-wrapper,
  .third-wrapper,
  .fourth-wrapper,
  .sixth-wrapper,
  .seventh-wrapper,
  .eigth-wrapper,
  .footer-wrapper {
    padding-left: 40px;
    padding-right: 40px;
  }
  .hero-wrapper {
    padding-left: 40px;
  }
  .title-section-wrapper {
    padding: 0 40px;
  }
}
@media screen and (max-width: 1024px) {
  .header-btn {
    display: none;
  }
  .header-wrapper {
    padding: 38px;
    justify-content: center;
    position: relative;
    padding-bottom: 44px;
  }
  .header-right img {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
  }
  .footer-section {
    padding: 46px 16px;
  }
  .footer-wrapper {
    padding: 0;
    max-width: 612px;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-main {
    flex-direction: column;
  }
  .footer-main-left {
    padding-right: 0;
    border: 0;
  }
  .footer-main-left-content {
    margin-top: 40px;
    gap: 32px;
    flex-direction: column;
  }
  .footer-main-right {
    padding-left: 0;
    margin-top: 42px;
  }
  .footer-main-right-links {
    margin-top: 24px;
    gap: 43px;
  }
  .footer-bot {
    margin-top: 60px;
    text-align: left;
  }
  .first-wrapper,
  .second-wrapper,
  .third-wrapper,
  .fourth-wrapper,
  .sixth-wrapper,
  .seventh-wrapper,
  .eigth-wrapper,
  .footer-wrapper {
    padding: 0 16px;
    max-width: 644px;
    margin-left: auto;
    margin-right: auto;
  }
  .title-section {
    padding: 50px;
  }
  .title-section-wrapper {
    padding: 0;
  }
  .title-wrapper {
    padding-left: 0;
    padding-bottom: 24px;
    text-align: center;
  }
  .title-wrapper::before {
    height: 2px;
    width: 24px;
    top: 100%;
    left: 50%;
    transform: translateY(0);
    transform: translateX(-50%);
  }
  h1 {
    font-size: 32px;
    line-height: 40px;
  }
  .title-section::before {
    background-image: url("../imgs/inter-mob-bg.png");
    width: 100%;
  }
  .title-section {
    padding: 50px 0;
  }
  .title-section-wrapper {
    padding: 0 16px;
    max-width: 644px;
    margin-left: auto;
    margin-right: auto;
  }
  .sub-title p {
    line-height: 26px;
  }
  .sub-title {
    margin-top: 33px;
    padding-bottom: 36px;
  }
  .title-section-second-txt-block {
    margin-top: 36px;
  }
  .title-section-second-txt-block h2 {
    font-size: 28px;
  }
  .fourth {
    margin-top: 48px;
  }
  .fourth-btns {
    margin-top: 31px;
  }
  .fourth-btns {
    flex-wrap: wrap;
  }
  .fourth-btn {
    margin-top: 39px;
    width: 100%;
  }
  .fourth-btn .btn {
    width: 100%;
    text-align: center;
  }
  .fourth-btn .btn::before {
    top: calc(50% - 10px);
    transform: translateY(50%);
    left: calc(50% - 40px);
  }
  .first-tags {
    width: 100%;
    overflow: auto;
  }
  .third-apartment-block {
    flex-direction: column;
    gap: 32px;
  }
  .third-apartment-item {
    width: 100%;
  }
  .first-tag span {
    white-space: nowrap;
  }
		.filter-group-inner input[type="checkbox"] {
		min-width:20px;
	}
	.filter-group-inner label {
		font-size:14px;
	}
	.filter-group-inner.checkboxes label {
		width: 48%;
	}
	.filter-apply {
		width:100%;
	}
}
