/*********************
START: HERO
*********************/
.hero {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 55%;
}

.hero::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: rgba(33, 37, 41, 0.5);
}

.hero--content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  z-index: 1;
  margin-inline: auto;
}

.hero--content h1 {
  margin-block-start: 343px;
}

.hero--content a.btn--gray-7 {
  margin-block-start: 3rem;
  width: 340px;
  height: 48px;
  padding: 16px 32px;
}

.hero--content > p {
  color: var(--Gray-2);
  font-weight: 400;
  letter-spacing: 0.14px;
  max-width: 900px;
  width: 100%;
  margin-block: 5rem 2rem;
  font-size: var(--text-xl);
}

.hero .scrollTo {
  cursor: pointer;
  margin-block: 23px 48px;
}

.search_address_input__field_wrapper {
  border: none;
}

.property-search-form .rechat-popover__trigger {
  display: flex;
  align-items: center;
  position: relative;
}

.search-header {
  width: 100%;
}
/*********************
END: HERO
*********************/

/*********************
START: RESULTS
*********************/
.results {
  background-color: var(--Gray-1);
  padding-block: 105px 123px;
}

.results--title {
  display: flex;
  justify-content: space-between;
  margin-block-start: 2.5rem;
}

.results--title h2 {
  font-weight: 600;
}

.results--title > div {
  width: 44.25%;
}

.results--title > div p {
  margin-block-start: 1rem;
}

.results ul {
  display: flex;
  justify-content: center;
  column-gap: 24px;
}

.results ul li {
  min-height: 227px;
  border-radius: 2px;
  background: var(--Gray-2);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.results ul li:not(:last-child) {
  width: 27%;
}

.results ul li:last-child {
  width: 46%;
}

.results ul li > img {
  width: 60px;
  height: 66px;
}

.results ul li > div {
  display: flex;
  margin-block: 4.5rem 1rem;
}

.results ul li > div span {
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

.results ul li > div span.count {
  margin-inline: 0.3rem;
}

.results ul li p {
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/*********************
END: RESULTS
*********************/

/*********************
START: ABOUT
*********************/
.about {
  position: relative;
}

.about::after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: rgba(0, 0, 0, 0.5);
}

.about--text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  position: relative;
  margin-block: 302px;
}

.about--text p {
  margin-block: 1.5rem 4rem;
  max-width: 900px;
  width: 100%;
}

.about--text a.btn {
  display: block;
  width: 242px;
  height: 48px;
}

/*********************
END: ABOUT
*********************/

/*********************
START: PROPERTIES
*********************/
.properties {
  padding-block: 72px 56px;
  background-color: var(--Gray-3);
}

.properties--content {
  position: relative;
}

.properties--content p.text--medium {
  margin-block: 1rem;
}

.properties--content a.btn {
  width: 278px;
  padding: 16px 24px;
  margin-inline: auto;
}

.listing-card .listing-card__image {
  border-radius: 16px;
}

.listing-card
  .listing-card__properties
  .listing-card__attributes-splitter:last-child {
  display: none;
}
/*********************
END: PROPERTIES
*********************/

/*********************
START: NEIGHBORHOODS
*********************/
.neighborhoods {
  background: var(--Gray-1);
  padding-block: 120px;
}

.neighborhoods--title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-block-end: 3rem;
}

.neighborhoods--title > div p {
  margin-block-start: 1rem;
}

.neighborhoods--title a.btn {
  width: 278px;
  padding: 16px 24px;
}

.neighborhoods--content ul {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 1rem;
}

.neighborhoods--content ul li {
  position: relative;
}

.neighborhoods--content ul li img {
  width: 100%;
  height: 589px;
  border-radius: 2px;
  object-fit: cover;
}

.neighborhoods--content ul li div {
  border-radius: 2px;
  background: var(--Gray-2);
  padding: 1rem;
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 21px;
  color: var(--Gray-9);
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.18px;
}

/*********************
END: NEIGHBORHOODS
*********************/

/*********************
START: WORK WITH US
*********************/
.workUs {
  padding-block: 90px;
  background-color: var(--Gray-3);
}

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

.workUs--text {
  width: 46%;
}

.workUs--text p {
  margin-block: 1.5rem 3.5rem;
  line-height: 140%;
}

.workUs--text .workUs--text__btn {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.workUs--text .workUs--text__btn a.btn {
  width: 49%;
}

.workUs--img {
  width: 50%;
  position: relative;
}

.workUs--img img {
  width: 100%;
  height: auto;
  aspect-ratio: 706/800;
  object-fit: cover;
  border-radius: 4px;
}

/*********************
END: WORK WITH US
*********************/

/*********************
START: 
*********************/
.featured {
  padding-block: 146px 162px;
}

.featured--content {
  margin-block-end: 1rem;
}

.featured--content p.text--medium {
  margin-block-start: 1rem;
}

.featured .featured-listing.swiper {
  margin-block: 3.5rem;
  min-height: 300px;
}

.featured .featured-listing .swiper-wrapper {
  transition-timing-function: linear;
}

.featured .featured-listing .swiper-slide {
  position: relative;
}

.featured .featured-listing .swiper-slide::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 2px;
  background: rgba(33, 37, 41, 0.3);
}

.featured .featured-listing .swiper-slide img.imageIndex {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 446.667 / 416;
  border-radius: 2px;
}

.featured .featured-listing .swiper-slide div.info {
  border-radius: 2px;
  background: var(--Gray-2);
  padding: 1rem;
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 13px;
}

.featured .featured-listing .swiper-slide div.info h4 {
  color: var(--Gray-9);
  font-size: var(--text-base);
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.16px;
}

.featured .featured-listing .swiper-slide div.info p {
  color: var(--Gray-7);
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.14px;
  margin-block: 0.5rem 1rem;
}

.featured .featured-listing .swiper-slide div.info ul {
  display: flex;
  flex-wrap: wrap;
}

.featured .featured-listing .swiper-slide div.info ul li:not(:last-child) {
  padding-inline-end: 0.5rem;
  margin-inline-end: 0.5rem;
  border-right: 2px solid #adb5bd;
}

.featured .featured-listing .swiper-slide div.info ul li span {
  color: var(--Gray-7);
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  letter-spacing: 0.14px;
}

.featured a.btn {
  width: 299px;
  padding: 16px 24px;
  margin-inline: auto;
}
/*********************
END: 
*********************/

/*********************
START: MEDIA
*********************/
@media screen and (min-width: 1440px) {
  .results ul li > div span {
    font-size: 40px;
  }

  .results ul li p {
    font-size: var(--text-xl);
  }

  .properties--content p.text--medium,
  .neighborhoods--title > div,
  .featured--content p.text--medium {
    width: 66%;
  }

  .neighborhoods--content ul li div {
    font-size: var(--text-lg);
  }
}

@media screen and (min-width: 1320px) and (max-width: 1439px) {
  .results ul {
    column-gap: 20px;
  }

  .results ul li > div span {
    font-size: var(--text-4xl);
  }

  .results ul li p {
    font-size: var(--text-lg);
  }

  .properties--content p.text--medium,
  .neighborhoods--title > div,
  .featured--content p.text--medium {
    width: 67%;
  }

  .neighborhoods--content ul li img {
    height: 550px;
  }
}

@media screen and (max-width: 1319px) {
  .results--title > div {
    width: 44%;
  }

  .results ul {
    column-gap: 18px;
  }

  .results ul li > div span {
    font-size: var(--text-3xl);
  }

  .results ul li p {
    font-size: var(--text-lg);
  }

  .about--text {
    margin-block: 280px;
  }

  .properties--content p.text--medium,
  .neighborhoods--title > div,
  .featured--content p.text--medium {
    width: 77%;
  }

  .neighborhoods--title {
    flex-direction: column;
    align-items: flex-start;
  }

  .neighborhoods--title > div p {
    margin-block: 1rem;
  }

  .neighborhoods--content ul li img {
    height: 530px;
  }
}

@media screen and (max-width: 1200px) {
  .results ul li {
    padding: 1.5rem;
  }

  .results ul li p {
    font-size: var(--text-base);
  }

  .about--text {
    margin-block: 250px;
  }

  .properties--content p.text--medium,
  .neighborhoods--title > div,
  .featured--content p.text--medium {
    width: 91%;
  }

  .featured--content .swiper-slide > div.info p {
    margin-block: 0.5rem;
  }

  .neighborhoods--content ul {
    grid-template-columns: repeat(3, 1fr);
  }

  .neighborhoods--content ul li img {
    height: 500px;
  }

  .workUs--img,
  .workUs--text {
    width: 48%;
  }
}

@media screen and (max-width: 992px) {
  .results--title {
    flex-direction: column;
  }

  .results--title > div {
    width: 100%;
    margin-block-start: 2.5rem;
  }

  .results ul {
    column-gap: unset;
  }

  .results ul li {
    padding: 1.5rem 1rem;
    width: auto !important;
    margin: 8px;
    flex-basis: calc(33.33% - 16px);
  }

  .results ul li > div span {
    font-size: var(--text-2xl);
  }

  .about--text {
    margin-block: 220px;
  }

  .properties--content p.text--medium,
  .neighborhoods--title > div,
  .featured--content p.text--medium {
    width: 100%;
  }

  .neighborhoods--content ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: unset;
  }

  .neighborhoods--content ul li {
    margin: 8px;
    flex-basis: calc(50% - 16px);
  }
}

@media screen and (max-width: 768px) {
  .property-search-form .rechat-popover__trigger {
    display: flex;
    align-items: center;
    position: relative;
  }

  .property-search-form .rechat-popover__trigger > .rechat-component {
    text-align: left;
  }

  .property-search-form .rechat-popover__trigger:before {
    position: absolute;
    content: "";
    width: 1.25rem;
    height: 1.25rem;
    right: 0.5rem;
    top: 50%;
    background-image: url(../img/icons/chevron-down-gray.svg);
    background-repeat: no-repeat;
    transform: translateY(-50%);
    background-size: contain;
  }

  .results,
  .properties,
  .neighborhoods,
  .workUs,
  .featured {
    padding-block: 80px;
  }

  .about--text {
    margin-block: 200px;
  }
  .workUs--content {
    flex-direction: column;
  }

  .workUs--text {
    width: 100%;
  }

  .workUs--img {
    width: 70%;
    margin-block-end: 2rem;
  }
}

@media screen and (max-width: 576px) {
  .results ul {
    flex-wrap: wrap;
  }

  .results ul li {
    flex-basis: calc(50% - 16px);
  }

  .neighborhoods--content ul li {
    flex-basis: calc(100% - 16px);
  }

  .neighborhoods--content ul li img {
    height: auto;
    aspect-ratio: 4/4;
  }
}

@media screen and (max-width: 470px) {
  .results ul li {
    flex-basis: calc(100% - 16px);
  }

  .about--text {
    margin-block: 170px;
  }

  .workUs--img {
    width: 80%;
  }
}

@media screen and (max-width: 425px) {
  .workUs--img {
    width: 100%;
  }

  .workUs--text p {
    margin-block: 1.5rem;
  }

  .workUs--text .workUs--text__btn {
    flex-direction: column;
  }

  .workUs--text .workUs--text__btn a.btn {
    width: 251px;
  }
}

@media screen and (max-width: 375px) {
  .hero--content a.btn--gray-7 {
    width: 290px;
  }
}

@media screen and (max-width: 320px) {
  .hero--content a.btn--gray-7 {
    width: 200px;
  }
}

/*********************
END: MEDIA
*********************/
