.check-avail-box h2,
.condo-card__btn,
.condos-hero,
.faq-header,
.faq-more {
  text-align: center
}

.condos-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/condos-bg.webp) center center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-h, 80px);
  top: -50px
}

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

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

.contact-hero p {
  font-size: 1.05rem;
  opacity: .85;
  margin: 0 auto;
  letter-spacing: 2px
}

.feature-ribbon {
  background: #0f8b80;
  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
}

.feature-ribbon li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-third)
}

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

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

.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem
}

.filter-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap
}

.filter-tab {
  padding: .6rem 1.4rem;
  border-radius: 20px;
  border: 1px solid #ddd;
  background: #fff;
  color: #555;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 600;
  font-family: inherit;
  transition: .2s
}

.filter-tab.active,
.filter-tab:hover {
  background: #0f8b80;
  color: #fff;
  border-color: #0f8b80
}

.filter-count {
  font-size: .85rem;
  color: #777
}

.filter-info-box {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s, padding .3s, opacity .3s;
  opacity: 0;
  background: #f0faf8;
  border-left: 4px solid #0f8b80;
  border-radius: 6px;
  margin-bottom: 0
}

.filter-info-box.open {
  max-height: 100px;
  opacity: 1;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem
}

.filter-info-content {
  font-size: .95rem;
  color: #444;
  line-height: 1.6
}

.filter-info-content strong {
  color: #0f8b80
}

.condos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  padding-bottom: 3rem
}

.condo-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .06);
  display: flex;
  flex-direction: column
}

.condo-card__badge-left,
.condo-card__badge-right {
  top: 1rem;
  padding: .4rem .8rem;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
  font-size: .75rem;
  font-weight: 700
}

.condo-card__img-container {
  position: relative;
  height: 220px;
  background-color: #eee
}

.condo-card__img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.condo-card__badge-left {
  position: absolute;
  left: 1rem;
  background: #fff;
  color: #333
}

.condo-card__badge-right {
  position: absolute;
  right: 1rem;
  background: #0f8b80;
  color: #fff
}

.condo-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1
}

.condo-card__location {
  font-size: .75rem;
  color: #888;
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  gap: .4rem
}

.condo-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1.2rem;
  line-height: 1.4
}

.condo-card__stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  color: #666;
  font-size: .8rem;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 1.2rem
}

.condo-card__stat {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-weight: 500
}

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

.condo-card__amenity {
  font-size: .7rem;
  color: #0f8b80;
  background: rgba(15, 139, 128, .08);
  padding: .3rem .8rem;
  border-radius: 4px;
  font-weight: 600
}

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

.btn-load,
.condo-card__btn {
  display: inline-block;
  transition: .2s;
  font-weight: 600;
  cursor: pointer
}

.condo-card__btn {
  flex: 1;
  padding: .8rem 0;
  border-radius: 6px;
  font-size: .9rem;
  text-decoration: none
}

.condo-card__btn--primary {
  background: #0f8b80;
  color: #fff;
  border: 1px solid #0f8b80
}

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

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

.condo-card__btn--outline:hover {
  border-color: #bbb;
  color: #333
}

.load-more-container {
  text-align: center;
  margin-top: 1rem
}

.btn-load {
  background: #fff;
  color: var(--teal-dark);
  border: 2px solid var(--teal-dark);
  padding: 14px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  display: flex;
  margin: 0 auto
}

.check-avail-btn,
.check-avail-input,
.check-avail-select {
  font-size: .95rem;
  font-family: inherit
}

.btn-load:hover {
  background: #f5f5f5;
  color: #333
}

.check-avail-section {
  background: #f2f8f6;
  padding: 5rem 0
}

.check-avail-box {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .06);
  max-width: 900px;
  margin: 0 auto
}

.check-avail-box h2 {
  margin-bottom: 2rem;
  font-size: 1.6rem;
  color: #111;
  font-weight: 700
}

.check-avail-form {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-end
}

.check-avail-field {
  flex: 1;
  min-width: 240px;
  position: relative
}

.check-avail-field label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: .6rem;
  color: #333
}

.check-avail-input-group {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff
}

.check-avail-input {
  width: 100%;
  padding: .9rem .9rem .9rem 2.5rem;
  border: none;
  background: 0 0;
  color: #333;
  outline: 0
}

.check-avail-input-group svg {
  position: absolute;
  left: .9rem;
  color: #666;
  width: 18px;
  height: 18px
}

.check-avail-select-group {
  position: relative
}

.check-avail-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: .9rem 2.5rem .9rem .9rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #333;
  background: #fff;
  outline: 0
}

.check-avail-select-group svg {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #666
}

.check-avail-btn {
  background: #0f8b80;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0 2rem;
  font-weight: 600;
  cursor: pointer;
  height: 48px;
  transition: background .2s;
  white-space: nowrap
}

.check-avail-btn:hover {
  background: #0c756b
}

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

.faq-header {
  margin-bottom: 3rem
}

.faq-header h2 {
  font-size: 1.8rem;
  color: #111;
  font-weight: 700
}

.faq-list {
  max-width: 800px;
  margin: 0 auto
}

.faq-item {
  margin-bottom: 1.5rem;
  padding: 2rem;
  border-radius: 8px;
  background: #fafafc;
  border: 1px solid #f0f0f0;
  transition: box-shadow .2s
}

.faq-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, .03)
}

.faq-question {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: .8rem;
  color: #111
}

.faq-answer {
  font-size: .95rem;
  color: #666;
  line-height: 1.6
}

.faq-more {
  margin-top: 3rem
}

.faq-more a {
  color: #0f8b80;
  font-weight: 600;
  text-decoration: none;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem
}

.faq-more a:hover {
  text-decoration: underline
}

@media (max-width:768px) {
  .feature-ribbon {
    margin-top: 0
  }

  .filter-info-box.open {
    max-height: 200px;
    padding: 1rem 1.5rem
  }
}

@media (max-width:480px) {
  .condo-card {
    border-radius: 8px
  }

  .check-avail-box {
    padding: 1.5rem
  }
}

@media (max-width:575px) {
  .condos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding-bottom: 3rem
  }
}

@media (max-width:767px) {
  .condos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding-bottom: 3rem
  }
}