@import url("https://fonts.googleapis.com/css?family=Poppins:regular,500,600,700&display=swap");
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  border: none;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

*::before,
*::after {
  display: inline-block;
}

a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

li {
  list-style: none;
}

img {
  vertical-align: top;
}

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

html,
body {
  line-height: 1;
  height: 100%;
}

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

input,
textarea {
  width: 100%;
}

label {
  display: inline-block;
}

button,
select,
option {
  cursor: pointer;
}

input[type=text],
input[type=email],
input[type=tel],
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

p,
li,
a,
span,
button,
label {
  text-transform: capitalize;
}

button,
input,
textarea {
  font-family: "Poppins", sans-serif;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.4;
  color: var(--color-text);
  background-color: var(--bg-color);
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
}

a {
  color: var(--color-text);
}

[class*=__container] {
  padding: 0 7%;
}

.btn {
  background: #ff5361;
  color: #fff;
  font-size: 1.0625rem;
  -webkit-transition: background 0.3s ease, -webkit-transform 0.3s ease;
  transition: background 0.3s ease, -webkit-transform 0.3s ease;
  transition: background 0.3s ease, transform 0.3s ease;
  transition: background 0.3s ease, transform 0.3s ease, -webkit-transform 0.3s ease;
}
@media (any-hover: hover) {
  .btn:hover {
    background: rgb(255, 42.2, 59.5209302326);
    -webkit-transform: translateY(-0.125rem);
        -ms-transform: translateY(-0.125rem);
            transform: translateY(-0.125rem);
  }
}
.btn:active {
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}

:root {
  --body-color: #efefef;
  --nav-color: #1876f2;
  --bg-color: #fff;
  --color-border: #999;
  --color-border-light: #ccc;
  --color-text: #000000;
  --hover-bg: rgba(0, 0, 0, 0.05);
}

.dark-theme {
  --body-color: #0a0a0a;
  --nav-color: #1876f2;
  --bg-color: #000;
  --hover-bg: rgba(215, 207, 207, 0.05);
}

.header {
  width: 100%;
}
.header--home {
  min-height: 100vh;
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.3)), to(rgba(0, 0, 0, 0.3))), url("../images/banner.png");
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../images/banner.png");
  background-size: cover;
  background-position: center;
}
.header__title {
  font-size: clamp(20px, 4vw, 60px);
  font-weight: 500;
  color: #fff;
  text-align: center;
  padding-top: 22%;
  text-transform: capitalize;
}
@media (max-width: 47.99875em) {
  .header__title {
    padding-top: 100px;
    font-size: 7vw;
  }
}

.search-bar {
  background: #fff;
  width: 70%;
  margin: 1.875rem auto;
  padding: 0.375rem 0.625rem 0.375rem 1.875rem;
  border-radius: 3.125rem;
}
.search-bar__form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.3125rem;
}
.search-bar__field {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.search-bar__field--location {
  min-width: 11.25rem;
}
.search-bar__input {
  display: block;
  outline: none;
}
.search-bar__button {
  inline-size: 3.4375rem;
  block-size: 3.4375rem;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (max-width: 47.99875em) {
  .search-bar__button {
    position: static;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
    margin: 10px auto 0;
  }
}
.search-bar .icon {
  inline-size: 0.9375rem;
  block-size: 0.9375rem;
}
@media (max-width: 74.99875em) and (min-width: 47.99875em) {
  .search-bar {
    -webkit-padding-start: 0.9375rem;
            padding-inline-start: 0.9375rem;
  }
  .search-bar__field {
    font-size: 0.875rem;
  }
  .search-bar__field--location {
    min-width: 9.375rem;
  }
  .search-bar__button {
    inline-size: 2.5rem;
    block-size: 2.5rem;
  }
  .search-bar .icon {
    inline-size: 0.8125rem;
    block-size: 0.8125rem;
  }
}
@media (max-width: 47.99875em) {
  .search-bar {
    max-width: 28.125rem;
    width: 90%;
    margin: 1.875rem auto;
    padding: 1.25rem 0.625rem 1.25rem;
    border-radius: 0.3125rem;
    position: relative;
  }
  .search-bar__form {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 1.25rem;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  .search-bar__field {
    width: 100%;
  }
  .search-bar__input {
    border-bottom: 0.0625rem solid #ddd;
    width: 100%;
    padding-bottom: 0.625rem;
  }
}

.nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 0.625rem;
  padding: 1.25rem 7%;
  background: transparent;
}
.nav--white {
  background: #fff;
  -webkit-box-shadow: 0 0.3125rem 0.625rem rgba(0, 0, 0, 0.05);
          box-shadow: 0 0.3125rem 0.625rem rgba(0, 0, 0, 0.05);
}
.nav--white .menu__link {
  color: #000;
}
.nav--white .menu__link--first::after {
  background: #ff5361;
}
.nav--white .nav__register {
  background: #ff5361;
  color: #fff;
}
.nav__logo {
  width: 8.75rem;
}
@media (max-width: 47.99875em) {
  .nav__logo {
    position: fixed;
    top: 2%;
    left: 7%;
  }
}
.nav__logo-img {
  width: 100%;
  cursor: pointer;
}
.nav__register {
  background: #fff;
  color: #000;
  padding: 0.5rem 1.25rem;
  border-radius: 1.25rem;
  font-size: 0.875rem;
  -webkit-transition: color 0.3s ease, background 0.3s ease, -webkit-transform 0.3s ease;
  transition: color 0.3s ease, background 0.3s ease, -webkit-transform 0.3s ease;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease, -webkit-transform 0.3s ease;
}
@media (any-hover: hover) {
  .nav__register:hover {
    color: #fff;
  }
}
.nav__burger {
  display: none;
}
@media (max-width: 47.99875em) {
  .nav__burger {
    display: block;
    position: fixed;
    top: 3%;
    right: 7%;
    color: #fff;
    font-size: 1.75rem;
  }
}
@media (max-width: 74.99875em) and (min-width: 47.99875em) {
  .nav {
    padding: 1.25rem 5%;
  }
}
@media (max-width: 47.99875em) {
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    gap: 1.25rem;
    padding: 3.75rem 7% 0.5rem;
    background: #000;
    max-height: 3.75rem;
    overflow: hidden;
    -webkit-transition: max-height 0.5s;
    transition: max-height 0.5s;
  }
  .nav--open {
    max-height: 15.625rem;
  }
  .nav--white {
    background: #fff;
  }
  .nav--white .nav__burger {
    color: #000;
  }
}

.menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1.875rem;
}
.menu__link {
  position: relative;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.625rem;
  color: #fff;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
.menu__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.25rem;
  -webkit-transform: translateX(-50%) scaleX(0);
      -ms-transform: translateX(-50%) scaleX(0);
          transform: translateX(-50%) scaleX(0);
  -webkit-transform-origin: center;
      -ms-transform-origin: center;
          transform-origin: center;
  width: 1.5625rem;
  height: 0.125rem;
  background-color: currentColor;
  border-radius: 0.125rem;
  -webkit-transition: background-color 0.3s ease, -webkit-transform 0.3s;
  transition: background-color 0.3s ease, -webkit-transform 0.3s;
  transition: transform 0.3s, background-color 0.3s ease;
  transition: transform 0.3s, background-color 0.3s ease, -webkit-transform 0.3s;
}
@media (any-hover: hover) {
  .menu__link:hover {
    color: #ff5361;
  }
  .menu__link:hover::after {
    -webkit-transform: translateX(-50%) scaleX(1);
        -ms-transform: translateX(-50%) scaleX(1);
            transform: translateX(-50%) scaleX(1);
  }
}
.menu__link--active::after {
  -webkit-transform: translateX(-50%) scaleX(1);
      -ms-transform: translateX(-50%) scaleX(1);
          transform: translateX(-50%) scaleX(1);
  background-color: #ff5361;
}
.menu__link--first::after {
  -webkit-transform: translateX(-50%) scaleX(1);
      -ms-transform: translateX(-50%) scaleX(1);
          transform: translateX(-50%) scaleX(1);
  background-color: #fff;
}
@media (max-width: 61.99875em) {
  .menu__link {
    width: auto;
    font-size: 0.8125rem;
  }
}
@media (max-width: 47.99875em) {
  .menu__link {
    font-size: 1rem;
    padding: 0;
  }
  .menu__link--active::after {
    left: -15%;
    top: 50%;
    -webkit-transform: translateX(-50%) scaleX(1);
        -ms-transform: translateX(-50%) scaleX(1);
            transform: translateX(-50%) scaleX(1);
  }
  .menu__link--first::after {
    left: -15%;
    top: 50%;
    -webkit-transform: translateX(-50%) scaleX(1);
        -ms-transform: translateX(-50%) scaleX(1);
            transform: translateX(-50%) scaleX(1);
  }
}
@media (any-hover: hover) {
  .menu:hover .menu__link--first::after {
    -webkit-transform: translateX(-50%) scaleX(0);
        -ms-transform: translateX(-50%) scaleX(0);
            transform: translateX(-50%) scaleX(0);
  }
  .menu .menu__link.menu__link--first:hover::after {
    -webkit-transform: translateX(-50%) scaleX(1);
        -ms-transform: translateX(-50%) scaleX(1);
            transform: translateX(-50%) scaleX(1);
    background-color: #ff5361;
  }
}
@media (max-width: 74.99875em) and (min-width: 47.99875em) {
  .menu {
    gap: 0.9375rem;
  }
}
@media (max-width: 47.99875em) {
  .menu {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    gap: 0.9375rem;
    padding-top: 0.625rem;
  }
}

.page {
  padding-block: 3.125rem;
}
.page__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 3.125rem;
}
@media (max-width: 47.99875em) {
  .page__container {
    gap: 1.25rem;
  }
}
.page__subtitle {
  font-size: clamp(1.125rem, 2.2vw, 1.75rem);
  font-weight: 500;
  color: #333;
}
.page__start-btn {
  -ms-flex-item-align: center;
      align-self: center;
  width: 80%;
  max-width: 21.875rem;
  display: block;
  text-align: center;
  padding: 0.9375rem;
  border-radius: 1.875rem;
}

.cta {
  background-image: -webkit-gradient(linear, left top, right top, from(#3f2321), to(transparent)), url(../images/banner-2.png);
  background-image: linear-gradient(to right, #3f2321, transparent), url(../images/banner-2.png);
  background-size: cover;
  background-position: center;
  border-radius: 0.625rem;
  padding: 5%;
  color: #fff;
}
.cta__title {
  font-size: 4vw;
  line-height: 5.3vw;
  font-weight: 500;
}
.cta__text {
  font-size: 1.125rem;
  margin: 0.625rem 0;
}
.cta__btn {
  padding: 0.75rem 1.875rem;
  border-radius: 0.5rem;
  margin-top: 1.25rem;
}
@media (max-width: 47.99875em) {
  .cta {
    padding: 15% 5%;
  }
  .cta__title {
    font-size: 7vw;
    line-height: 8vw;
  }
  .cta__text {
    font-size: 0.9375rem;
  }
  .cta__btn {
    padding: 0.375rem 0.9375rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
  }
}

.stories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  gap: 0.625rem 1.875rem;
  margin-bottom: 1.875rem;
}
.stories__item {
  position: relative;
  text-align: center;
  overflow: hidden;
  border-radius: 0.625rem;
  aspect-ratio: 1/1;
}
.stories__item p {
  width: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  color: #fff;
  font-size: 1.625rem;
}
@media (max-width: 47.99875em) {
  .stories__item p {
    font-size: 1.375rem;
  }
}
@media (any-hover: hover) {
  .stories__item:hover .stories__image {
    -webkit-filter: brightness(60%);
            filter: brightness(60%);
    -webkit-transform: scale(1.03) translateY(-5px);
        -ms-transform: scale(1.03) translateY(-5px);
            transform: scale(1.03) translateY(-5px);
  }
}
.stories__image {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.625rem;
  will-change: transform;
  -webkit-transition: -webkit-transform 0.4s ease, -webkit-filter 0.4s ease;
  transition: -webkit-transform 0.4s ease, -webkit-filter 0.4s ease;
  transition: transform 0.4s ease, filter 0.4s ease;
  transition: transform 0.4s ease, filter 0.4s ease, -webkit-transform 0.4s ease, -webkit-filter 0.4s ease;
  -webkit-transform: scale(1) translateY(0);
      -ms-transform: scale(1) translateY(0);
          transform: scale(1) translateY(0);
}

.about {
  text-align: center;
  color: #333;
  font-size: 1.0625rem;
}
@media (max-width: 47.99875em) {
  .about {
    font-size: 0.9375rem;
  }
}
.about__title {
  font-size: 1.75rem;
  margin-bottom: 1.875rem;
  font-weight: 500;
}

.exclusives {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  gap: 1.875rem;
}
.exclusives__item {
  position: relative;
  overflow: hidden;
  border-radius: 0.625rem;
}
.exclusives__link {
  display: block;
  overflow: hidden;
  position: relative;
}
.exclusives__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(70%, rgba(0, 0, 0, 0)), color-stop(90%, rgba(0, 0, 0, 0.25)), to(rgba(0, 0, 0, 0.35)));
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.25) 90%, rgba(0, 0, 0, 0.35) 100%);
  -webkit-transition: background 0.3s ease;
  transition: background 0.3s ease;
}
@media (any-hover: hover) {
  .exclusives__link:hover::after {
    background: rgba(0, 0, 0, 0.45);
  }
}
.exclusives__img {
  z-index: 1;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  border-radius: 0.625rem;
}
.exclusives__info {
  position: absolute;
  inset: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #fff;
  padding: 0.9375rem;
  pointer-events: none;
  z-index: 3;
}
.exclusives__title {
  font-weight: 600;
}
.exclusives__price {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  text-align: center;
}
.exclusives__price span {
  font-weight: 600;
}

.trending {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.625rem 1.875rem;
}
.trending__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.625rem;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  border-radius: 0.625rem;
}
.trending__img-wrapper {
  width: 100%;
  border-radius: 0.625rem;
  overflow: hidden;
}
.trending__img {
  display: block;
  width: 100%;
  border-radius: 0.625rem;
  -o-object-fit: cover;
     object-fit: cover;
  will-change: transform;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
@media (any-hover: hover) {
  .trending__item:hover .trending__img {
    -webkit-transform: scale(1.05);
        -ms-transform: scale(1.05);
            transform: scale(1.05);
  }
}
.trending__title {
  font-weight: 600;
}

.house {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  padding: 1.875rem 0;
  border-top: 0.0625rem solid var(--color-border-light);
  gap: 1.25rem;
}
@media (max-width: 74.99875em) {
  .house {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .house__img, .house__info {
    -webkit-box-flex: 0;
        -ms-flex: none;
            flex: none;
    width: 100%;
  }
}
.house__img {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 40%;
          flex: 0 0 40%;
  border-radius: 0.75rem;
  overflow: hidden;
  position: relative;
}
.house__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
@media (any-hover: hover) {
  .house__img:hover::after {
    opacity: 1;
  }
}
.house__img img {
  width: 100%;
}
.house__info {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  color: #555;
}
@media (max-width: 74.99875em) {
  .house__location {
    font-size: 0.875rem;
  }
}
.house__title {
  font-weight: 600;
  color: #333;
  font-size: 1.375rem;
  margin: 0.25rem 0;
}
@media (max-width: 47.99875em) {
  .house__title {
    font-size: 1.125rem;
  }
}
.house__rating {
  color: #ff5361;
  font-size: 1.125rem;
  margin: 0.625rem 0.0625rem;
}
@media (max-width: 47.99875em) {
  .house__rating {
    font-size: 1rem;
  }
}
.house__price {
  text-align: right;
}
.house__cost {
  font-size: 1.25rem;
  font-weight: 600;
}
.house__cost span {
  font-size: 1rem;
  font-weight: 500;
}

.page__container {
  padding: 0 5%;
}
@media (max-width: 47.99875em) {
  .page__container {
    padding: 2.5rem 3%;
  }
}

.list__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 0 3%;
  gap: 1.25rem;
}
.list__content {
  -ms-flex-preferred-size: 70%;
      flex-basis: 70%;
}
@media (max-width: 74.99875em) and (min-width: 47.99875em) {
  .list__content {
    -ms-flex-preferred-size: 60%;
        flex-basis: 60%;
  }
}
@media (max-width: 47.99875em) {
  .list__content {
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
  }
}
.list__title {
  color: #333;
  font-weight: 600;
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
}
@media (max-width: 74.99875em) {
  .list__title {
    font-size: 1.5rem;
  }
}
@media (max-width: 47.99875em) {
  .list__title {
    font-size: 1.375rem;
  }
}
.list__sidebar {
  -ms-flex-preferred-size: 20%;
      flex-basis: 20%;
}
@media (max-width: 47.99875em) {
  .list__sidebar {
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
  }
}

.sidebar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.625rem;
  border: 0.0625rem solid #999;
  padding: 1.25rem 1.875rem;
  margin-top: 1.875rem;
}
.sidebar__title, .sidebar__subtitle {
  font-weight: 500;
}
.sidebar__filter {
  display: grid;
  grid-template-columns: auto 1fr auto;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.625rem;
  color: #555;
}
.sidebar__filter-input {
  cursor: pointer;
}
.sidebar__link {
  -ms-flex-item-align: end;
      align-self: flex-end;
}

.pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 2.5rem 0;
}
.pagination__arrow {
  inline-size: 0.9375rem;
  block-size: 0.9375rem;
  margin: 0.625rem 1.25rem;
}
.pagination__arrow--right {
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
}
@media (max-width: 47.99875em) {
  .pagination__arrow {
    inline-size: 0.8125rem;
    block-size: 0.8125rem;
    margin: 0.8125rem;
  }
}
.pagination__span {
  inline-size: 2.5rem;
  block-size: 2.5rem;
  line-height: 2.5rem;
  margin: 0.625rem 0.5rem;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
}
@media (max-width: 47.99875em) {
  .pagination__span {
    display: none;
  }
  .pagination__span--current, .pagination__span:nth-of-type(2), .pagination__span:nth-of-type(4), .pagination__span:nth-of-type(6), .pagination__span:nth-of-type(7) {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
@media (max-width: 29.99875em) {
  .pagination__span:nth-of-type(4) {
    display: none;
  }
}
.pagination__span--current {
  background: #333;
  color: #fff;
}

.page__line {
  height: 0.0625rem;
  background: var(--color-border-light);
  width: 100%;
  max-width: 50rem;
}
.page__home-desc {
  max-width: 43.75rem;
}
.page__host-contact {
  -webkit-margin-start: 7.5rem;
          margin-inline-start: 7.5rem;
  -ms-flex-item-align: start;
      align-self: flex-start;
  color: #555;
  padding: 0.9375rem 2.5rem;
  border: 0.0625rem solid #ff5361;
  border-radius: 0.5rem;
  -webkit-transition: background 0.3s ease, color 0.3s ease, -webkit-transform 0.3s ease;
  transition: background 0.3s ease, color 0.3s ease, -webkit-transform 0.3s ease;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, -webkit-transform 0.3s ease;
}
@media (max-width: 47.99875em) {
  .page__host-contact {
    -webkit-margin-start: 2.5rem;
            margin-inline-start: 2.5rem;
  }
}
@media (any-hover: hover) {
  .page__host-contact:hover {
    color: #fff;
    background: rgb(255, 42.2, 59.5209302326);
    -webkit-transform: translateY(-0.125rem);
        -ms-transform: translateY(-0.125rem);
            transform: translateY(-0.125rem);
  }
}

.house-details {
  padding: 0.75rem 12% 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1.25rem;
}
.house-details__title {
  font-weight: 600;
  font-size: 1.75rem;
}
.house-details__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.625rem;
}
.rating {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 0.625rem;
}
.rating__icons {
  color: #ff5361;
  font-size: 0.875rem;
}
.rating__span-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.1875rem 0.625rem;
}
.rating__span-row span {
  display: block;
}
@media (max-width: 47.99875em) {
  .rating__span-row span {
    font-size: 0.875rem;
  }
}

.gallery {
  display: grid;
  gap: 0.625rem;
  grid-template-areas: "first first . ." "first first . .";
}
@media (max-width: 47.99875em) {
  .gallery {
    grid-template-areas: "first first" ". ." ". .";
  }
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 0.625rem;
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
@media (any-hover: hover) {
  .gallery__item:hover::after {
    opacity: 1;
  }
}
.gallery__item--large {
  grid-area: first;
}
.gallery__img {
  width: 100%;
  display: block;
}

.small-details {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.3125rem;
}
.small-details__title {
  font-size: 1.5rem;
  font-weight: 500;
}
.small-details__price {
  text-align: right;
  font-size: 1.375rem;
  font-weight: 600;
}
@media (max-width: 47.99875em) {
  .small-details__title {
    font-size: 1.25rem;
  }
  .small-details__price {
    text-align: left;
    font-size: 1.125rem;
  }
}

.check-form {
  background: #fff;
  -webkit-box-shadow: 0 0 1.875rem rgba(0, 0, 0, 0.3);
          box-shadow: 0 0 1.875rem rgba(0, 0, 0, 0.3);
  border-radius: 0.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.625rem;
  padding: 0.625rem 3.125rem;
}
.check-form__item {
  padding: 1.25rem 0.9375rem;
}
.check-form__label {
  display: block;
}
.check-form__item--guest-field {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.check-form__btn {
  padding: 1.125rem;
  width: 21.875rem;
  border-radius: 0.5rem;
  font-size: 1rem;
}
@media (max-width: 74.99875em) and (min-width: 47.99875em) {
  .check-form {
    padding: 0.625rem 1.25rem;
  }
  .check-form__item {
    -ms-flex-preferred-size: 11.25rem;
        flex-basis: 11.25rem;
  }
  .check-form__btn {
    width: 15.625rem;
  }
}
@media (max-width: 47.99875em) {
  .check-form {
    padding: 1.25rem;
  }
  .check-form__item {
    padding: 1.25rem 0 0.625rem;
    width: 100%;
  }
  .check-form__item--guest-field {
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
  }
  .check-form__input {
    border-bottom: 0.0625rem solid var(--color-border-light);
    padding-bottom: 0.3125rem;
  }
  .check-form__btn {
    font-size: 0.875rem;
    border-radius: toREm(4);
  }
}

.details-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1.25rem;
}
.details-list__item {
  font-size: 1.25rem;
  font-weight: 500;
  margin-left: 3.125rem;
  color: #555;
  position: relative;
}
.details-list__item span {
  font-size: 1rem;
  font-weight: 400;
  display: block;
}
.details-list__icon {
  position: absolute;
  top: 0.3125rem;
  left: -2.5rem;
}

.host {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1.875rem;
}
@media (max-width: 47.99875em) {
  .host {
    gap: 0.9375rem;
  }
}
.host__title {
  font-weight: 500;
  margin-bottom: 0.625rem;
}
.host__rating {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.avatar {
  border-radius: 50%;
  overflow: hidden;
  width: 5rem;
  aspect-ratio: 1;
  cursor: pointer;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.avatar__image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.map {
  padding: 2.5rem 0;
}
.map__title {
  font-size: 1.625rem;
  font-weight: 500;
  margin-bottom: 1.875rem;
}
.map__frame {
  height: 28.125rem;
  overflow: hidden;
  border-radius: 0.75rem;
}
.map__frame iframe {
  width: 100%;
  height: 100%;
}
.map__location {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: toREm(18);
}

.footer__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1.25rem;
  -webkit-padding-after: 1.875rem;
          padding-block-end: 1.875rem;
}
.footer__socials {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1.25rem;
}
.footer__link {
  color: var(--color-border);
  font-size: 1.375rem;
  -webkit-transition: color 0.3s ease, -webkit-transform 0.3s ease;
  transition: color 0.3s ease, -webkit-transform 0.3s ease;
  transition: color 0.3s ease, transform 0.3s ease;
  transition: color 0.3s ease, transform 0.3s ease, -webkit-transform 0.3s ease;
}
@media (any-hover: hover) {
  .footer__link:hover {
    color: rgb(127.5, 127.5, 127.5);
    -webkit-transform: translateY(-0.125rem);
        -ms-transform: translateY(-0.125rem);
            transform: translateY(-0.125rem);
  }
}
.footer__link:active {
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}
.footer__divider {
  border-top: 0.0625rem solid var(--color-border);
  height: 0.0625rem;
  width: 100%;
}
@media (max-width: 47.99875em) {
  .footer__copyright {
    font-size: 0.9375rem;
  }
}