.houses-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 480px;
  background: linear-gradient(rgb(11 59 58 / 60%), rgb(11 59 58 / 58%)) fixed, url(../images/joe-chapin/house-bg.webp) center center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-h, 80px);
  top: -50px
}

.houses-hero .container {
  position: relative;
  z-index: 10;
  color: #fff
}

.houses-hero h1 {
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700
}

.houses-hero p {
  font-size: 20px;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6
}

.feature-ribbon {
  background: var(--teal-dark);
  color: #fff;
  padding: 1.2rem 0;
  margin-top: -50px
}

.feature-ribbon ul {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
  font-size: .85rem;
  list-style: none;
  font-weight: 500;
  font-family: var(--font-third)
}

.feature-ribbon li {
  display: flex;
  align-items: center;
  gap: .6rem
}

.houses-page-body {
  background-color: #fafafe;
  color: #333
}

.houses-main {
  padding: 3rem 0;
  font-family: var(--font-third)
}

.cta-paradise__btn,
.house-card__btn {
  text-decoration: none;
  font-family: inherit;
  transition: .2s;
  cursor: pointer
}

.houses-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 0
}

.house-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .07);
  display: flex;
  min-height: 280px
}

.house-card__img {
  position: relative;
  width: 52%;
  flex-shrink: 0
}

.house-card__price-badge,
.house-card__rating {
  position: absolute;
  top: 1rem;
  border-radius: 20px;
  z-index: 2;
  font-weight: 700
}

.house-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.house-card__price-badge {
  left: 1rem;
  background: var(--teal-dark);
  color: #fff;
  padding: .4rem .9rem;
  font-size: 16px
}

.house-card__rating {
  right: 1rem;
  background: #fff;
  color: #333;
  padding: .3rem .7rem;
  font-size: .78rem;
  display: flex;
  align-items: center;
  gap: .3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12)
}

.house-card__body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1
}

.house-card__location {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: .4rem;
  display: flex;
  align-items: center;
  gap: .4rem
}

.house-card__title {
  font-size: 30px;
  font-weight: 800;
  color: #111827
}

.house-card__subtitle {
  font-size: 14px;
  color: var(--teal-dark);
  margin-bottom: 1rem;
  font-weight: 600
}

.house-card__desc {
  font-size: .9rem;
  color: #666;
  line-height: 1.65;
  margin-bottom: 1.2rem;
  max-width: 480px
}

.house-card__stats {
  display: flex;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 1.2rem;
  border-top: 1px solid #f0f0f0;
  padding-top: 1.2rem;
  justify-content: space-between
}

.house-card__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-align: center;
  min-width: 60px
}

.house-card__stat svg {
  color: #9ca3af;
  margin-bottom: .2rem
}

.house-card__stat .stat-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  line-height: 1
}

.house-card__stat .stat-label {
  font-size: .72rem;
  color: #959799;
  font-weight: 600;
  text-transform: capitalize
}

.house-card__amenities {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem
}

.house-card__amenity {
  font-size: .7rem;
  color: var(--teal-dark);
  background: rgba(15, 139, 128, .08);
  padding: .3rem .8rem;
  border-radius: 4px;
  font-weight: 600
}

.house-card__footer {
  margin-top: auto;
  display: flex;
  gap: .8rem
}

.house-card__btn {
  padding: 1.1rem 2rem;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 600;
  border: none;
  display: inline-block;
  text-align: center
}

.house-card__btn--primary {
  background: var(--teal-dark);
  color: #fff;
  width: 100%
}

.house-card__btn--primary:hover {
  background: #0c756b;
  color: #fff
}

.house-card__btn--outline {
  background: 0 0;
  color: #555;
  border: 1px solid #ccc
}

.house-card__btn--outline:hover {
  border-color: #aaa;
  color: #333
}

.compare-section {
  padding: 4rem 0 5rem;
  background: #fff;
  color: #333
}

.compare-section h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #111
}

.compare-table th,
.cta-paradise {
  background: var(--teal-dark);
  color: #fff
}

.compare-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  box-shadow: rgba(50, 50, 93, .25) 0 13px 27px -5px, rgba(0, 0, 0, .3) 0 8px 16px -8px;
  border-radius: 15px
}

.compare-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 700;
  min-width: 120px;
  border-bottom: 2px solid #eee
}

.compare-table th:first-child {
  border-radius: 8px 0 0
}

.compare-table th:last-child {
  border-radius: 0 8px 0 0
}

.compare-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f0f0f0;
  color: #444
}

.compare-table tr:last-child td {
  border-bottom: none
}

.compare-table tr:hover td {
  background: #fafaf9
}

.compare-table .check {
  color: #000;
  font-size: 15px
}

.compare-table .cross {
  color: #ccc;
  font-size: 1.1rem
}

.compare-table .price-val {
  font-weight: 700;
  color: var(--teal-dark)
}

.cta-paradise {
  padding: 5rem 0;
  text-align: center
}

.cta-paradise h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: .8rem
}

.cta-paradise p {
  font-size: 20px;
  opacity: .85;
  margin-bottom: 2rem;
  line-height: 1.6
}

.cta-paradise__btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap
}

.cta-paradise__btn {
  padding: .9rem 2.2rem;
  border-radius: 9999px;
  font-size: .95rem;
  font-weight: 600;
  border: none;
  display: inline-block
}

.cta-paradise__btn--white {
  background: #fff;
  color: var(--teal-dark)
}

.cta-paradise__btn--white:hover {
  background: #f0f0f0;
  color: var(--teal-dark)
}

.cta-paradise__btn--outline {
  background: 0 0;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .6)
}

.cta-paradise__btn--outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .1)
}

@media (max-width:768px) {
  .houses-hero {
    height: 50vh;
    min-height: 350px
  }

  .feature-ribbon {
    margin-top: 0
  }

  .house-card {
    flex-direction: column
  }

  .house-card__img {
    width: 100%;
    height: 250px
  }

  .house-card__stats {
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center
  }
}

@media (max-width:480px) {
  .house-card__body {
    padding: 1.5rem
  }

  .house-card__title {
    font-size: 24px
  }

  .house-card__footer {
    flex-direction: column
  }
}