@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
  --text-normal: #332;
  --text-weak: #666;
  --brand: #fae4c8;
  --brand-dark: hsl(from var(--brand) h s calc(l - 2));
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
}
body {
  font-family: "Inter", sans-serif;
  position: relative;
  height: 100%;
  padding: 1rem 1rem 0px;
  margin: 0;
  background-color: hsl(from #fae4c8 h s calc(l + 3));
  background: linear-gradient(
    130deg,
    var(--brand) 50%,
    var(--brand-dark) 40%,
    var(--brand-dark) 60%,
    var(--brand) 70%
  );
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  letter-spacing: 0.02rem;

  &:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.5rem;
    background-color: hsl(from var(--brand) h s calc(l - 5));
    z-index: -1;
  }
}

h1 {
  margin: 0 auto;
  font-weight: 500;
  font-size: 2.5rem;
  text-align: center;

  span {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.4rem;
    font-weight: 300;
  }
}

h2 {
  margin: 1rem auto 1rem;
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
}

h3 {
  font-size: 1.2rem;
  font-weight: 400;
  text-align: center;
}

p {
  font-weight: 300;
  line-height: 1.8;
  text-align: center;
}

.highlight {
  background: linear-gradient(
    180deg,
    transparent,
    transparent 70%,
    #ffe6c4 75%,
    #ffe6c4 95%,
    transparent 100%
  );
}

.bg {
  background-image: url("bg2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* filter: blur(5px) brightness(1.05); */
  width: calc(100% + 20px);
  height: 100px;
}

.wrapper {
  width: 100%;
  max-width: 1200px;
  /* min-height: 90dvh; */
  margin: 20px auto;
  background: #fff;
  padding: 20px 20px;
  border-radius: 4px;
  box-shadow: 4px 4px 0 #0003;
}

.fv {
  margin: 10rem auto;
  width: 100%;
  max-width: 1200px;
}

.cta {
  margin-top: 4rem;
  font-size: 1.2rem;
}

.profile {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  background: white;
  border-radius: 4px;
  box-shadow: 4px 4px 0 #0003;
  padding: 10px;
}

.inter-400 {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.property-list {
  margin-top: 4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 25px;
  padding: 0;
  list-style: none;
}
property-item {
  display: contents;
}
.property-item {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 260px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 4px;
  justify-content: space-between;
}

.property-name {
  position: absolute;
  top: 8px;
  left: 8px;
  max-width: calc(100% - 16px);
  font-weight: 500;
  font-size: 1rem;
  display: block;
  background: #fffe;
  padding: 2px 4px;
  border-radius: 2px;
}

.property-rent,
.property-maintenance,
.property-rooms,
.property-size {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
}

.property-rent {
  font-weight: 400;
  font-size: 1rem;
}
.property-maintenance {
  font-weight: 400;
  font-size: 1rem;
}
.property-rooms {
  font-weight: 400;
  font-size: 1rem;
}
.property-details {
  display: flex;
  justify-content: space-between;
  padding: 8px;

  & > div {
    display: flex;
    flex-direction: column;

    &:nth-child(2) {
      text-align: right;
    }
  }
}

.property-line {
  font-size: 0.8rem;
  color: var(--text-weak);
}
.property-station {
  color: var(--text-normal);
}
.property-distance {
  color: var(--text-weak);
}
.property-image {
  aspect-ratio: 16 / 9;
  max-height: 200px;
  overflow: hidden;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

.property-more-info {
  margin-top: 1rem;
  background: #eee;
  color: var(--text-weak);
  font-size: 0.8rem;
  font-weight: 400;
  text-align: center;
  padding: 4px 8px;
  border-radius: 2px;
}

.contact {
  display: flex;
  gap: 20px;
  align-items: center;
  p {
    text-align: left;
  }
}

.logo {
  max-width: 128px;
  max-height: 128px;
}

.unit {
  font-size: 0.8rem;
  line-height: 1.4rem;
  color: var(--text-weak);
  padding-left: 0.2rem;
}

.key {
  font-size: 0.75rem;
  line-height: 1.2rem;
  color: var(--text-weak);
  font-weight: 500;
  display: block;
}
.value {
  color: var(--text-normal);
  font-weight: 400;
}

table {
  padding: 20px;
}
th {
  font-size: 0.8rem;
  font-weight: 500;
  text-align: left;
}
td {
  font-size: 0.8rem;
}

.copyright {
  display: block;
  width: 100%;
  margin: 4rem auto;
  max-width: 1200px;
  text-align: center;
}
