/* ═══════════════════════════════════
   INDEX — Featured Locations & area grouping
═══════════════════════════════════ */

.section-header--locations {
  padding-bottom: 2.5rem;
}

.section-header__map-link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(40, 167, 69, 0.9);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.section-header__map-link:hover {
  color: #28a745;
}

/* Location cards grid */
.location-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 0 5% 4rem;
  max-width: 100%;
}

.location-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(26, 26, 26, 0.06);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.09);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease, filter 0.35s ease;
  text-decoration: none;
}

.location-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.13);
  border-color: rgba(40, 167, 69, 0.2);
  filter: brightness(1.015);
}

.location-card__img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #f2f1ee;
  overflow: hidden;
}

.location-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.55s ease;
  display: block;
}

.location-card:hover .location-card__img {
  transform: scale(1.07);
  filter: brightness(0.96) saturate(1.08);
}

.location-card__content {
  padding: 1.15rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.location-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #161616;
  margin: 0;
  letter-spacing: 0.005em;
  line-height: 1.14;
}

.location-card__location {
  font-family: 'Poppins', sans-serif;
  font-size: 0.84rem;
  color: rgba(26, 26, 26, 0.64);
  margin: 0;
}

.location-card__desc {
  font-family: 'Poppins', sans-serif;
  font-size: 0.91rem;
  color: rgba(26, 26, 26, 0.78);
  margin: 0.15rem 0 0;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.location-card__amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
  transition: transform 0.25s ease;
}

.location-card:hover .location-card__amenity {
  background: rgba(40, 167, 69, 0.06);
  border-color: rgba(40, 167, 69, 0.12);
  color: rgba(26, 26, 26, 0.7);
}

.location-card__amenity {
  font-family: 'Poppins', sans-serif;
  font-size: 0.71rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.64);
  background: rgba(26, 26, 26, 0.03);
  border: 1px solid rgba(26, 26, 26, 0.06);
  border-radius: 999px;
  padding: 0.32rem 0.58rem;
  white-space: nowrap;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.location-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.55rem;
}

.location-card__price {
  font-family: 'Poppins', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: rgba(40, 167, 69, 0.96);
  letter-spacing: 0.005em;
}

.location-card__per {
  font-weight: 500;
  font-size: 0.84rem;
  color: rgba(26, 26, 26, 0.58);
  margin-left: 0.38rem;
}

.location-card__count {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.45);
  margin: 0.65rem 0 0;
}

.location-card__btn {
  font-family: 'Poppins', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, 0.96);
  text-decoration: none;
  padding: 0.68rem 0.94rem;
  border: 1px solid rgba(40, 167, 69, 0.2);
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.96), rgba(33, 136, 56, 0.96));
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(40, 167, 69, 0.24);
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, border-color 0.25s ease;
}

.location-card__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 15px 38px rgba(40, 167, 69, 0.3);
  border-color: rgba(40, 167, 69, 0.28);
}

/* Area section (e.g. "Karen, Nairobi") */
.location-section {
  padding: 3rem 5% 4rem;
  max-width: 100%;
}

.location-section__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  color: #1a1a1a;
  margin: 0 0 1.5rem;
  letter-spacing: 0.02em;
}

.location-section__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2px;
}

.location-section .luxury-col {
  grid-column: span 4;
}

.location-section .luxury-col:nth-child(4n+1) {
  grid-column: span 8;
}

.location-section .luxury-col:nth-child(4n+2) {
  grid-column: span 4;
}

@media (max-width: 991px) {
  .location-section__grid .luxury-col,
  .location-section__grid .luxury-col:nth-child(4n+1),
  .location-section__grid .luxury-col:nth-child(4n+2) {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .location-section__grid .luxury-col,
  .location-section__grid .luxury-col:nth-child(4n+1),
  .location-section__grid .luxury-col:nth-child(4n+2) {
    grid-column: span 12;
  }
}

.location-section__footer {
  margin-top: 1.25rem;
  padding-left: 2px;
}

.location-section__view-all {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(40, 167, 69, 0.9);
  text-decoration: none;
  transition: color 0.25s ease;
}

.location-section__view-all:hover {
  color: #28a745;
}

/* Coming Soon placeholder card */
.coming-soon-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f0eeea 0%, #e8e6e2 100%);
  border: 1px dashed rgba(40, 167, 69, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.coming-soon-card:hover {
  border-color: rgba(40, 167, 69, 0.5);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.coming-soon-card__content {
  text-align: center;
  padding: 2rem 1.5rem;
}

.coming-soon-card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  opacity: 0.6;
}

.coming-soon-card__label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: #4a4a4a;
  margin: 0;
  letter-spacing: 0.02em;
}

.coming-soon-card__sub {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(40, 167, 69, 0.75);
  margin-top: 0.35rem;
}

/* Index empty state */
.index-empty {
  padding: 4rem 5%;
  text-align: center;
}

.index-empty .empty-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.index-empty .empty-sub {
  font-size: 0.9rem;
  color: #888;
}
