/* ═══════════════════════════════════════════════
   TOP LOCATIONS TO INVEST — HOME PAGE
   ═══════════════════════════════════════════════ */

.locations-section {
  padding: 90px 5vw;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.locations-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.locations-header {
  text-align: center;
  margin-bottom: 60px;
}

.locations-eyebrow {
  font-family: 'Playful', serif;
  font-style: italic;
  font-size: 15px;
  color: #a07c2a;
  margin-bottom: 10px;
}

.locations-title {
  font-family: 'EngGothic', serif;
  font-size: clamp(24px, 4vw, 44px);
  letter-spacing: 0.06em;
  color: #523232;
  text-transform: uppercase;
  line-height: 1.1;
}

.locations-title span { color: #C9A84C; }

/* ── Map Grid ── */
.locations-map-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 18px;
}

/* First row: 3 equal cards */
/* Second row: 2 wider + 1 normal  */
.loc-card:nth-child(4) { grid-column: span 1; }
.loc-card:nth-child(5) { grid-column: span 1; }
.loc-card:nth-child(6) { grid-column: span 1; }

.loc-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  min-height: 260px;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.loc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(82,50,50,0.18);
}

.loc-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.loc-card:hover .loc-card-img {
  transform: scale(1.08);
}

.loc-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,8,5,0.85) 0%, rgba(15,8,5,0.2) 50%, transparent 100%);
  z-index: 1;
}

.loc-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
}

.loc-card-name {
  font-family: 'EngGothic', serif;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 4px;
}

.loc-card-sub {
  font-family: 'Playful', serif;
  font-size: 12px;
  color: #C9A84C;
  margin-bottom: 8px;
}

.loc-card-desc {
  font-family: 'Playful', serif;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s;
  opacity: 0;
}

.loc-card:hover .loc-card-desc {
  max-height: 60px;
  opacity: 1;
}

/* Pin icon on top right */
.loc-card-pin {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(201,168,76,0.2);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.35s ease;
}

.loc-card:hover .loc-card-pin {
  opacity: 1;
  transform: scale(1);
}

.loc-card-pin svg {
  width: 16px;
  height: 16px;
  stroke: #C9A84C;
  fill: none;
  stroke-width: 2;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .locations-map-grid { grid-template-columns: repeat(2, 1fr); }
  .loc-card:nth-child(4),
  .loc-card:nth-child(5),
  .loc-card:nth-child(6) { grid-column: span 1; }
}

@media (max-width: 640px) {
  .locations-map-grid { grid-template-columns: 1fr; }
  .loc-card { min-height: 220px; }
}
