/* ═══════════════════════════════════════════════════════════════════
   resale.center — launches.css
═══════════════════════════════════════════════════════════════════ */

/* ══ HERO ═══════════════════════════════════════════════════════════ */
.launches-hero {
  background: var(--black);
  padding: calc(var(--nav-h) + 48px) 24px 40px;
  position: relative;
  overflow: hidden;
}
.launches-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.lh-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}
.lh-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 10px;
}
.lh-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 12px;
}
.lh-title em {
  font-style: italic;
  color: rgba(255,255,255,0.5);
}
.lh-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  max-width: 480px;
}

/* ══ SECTION ════════════════════════════════════════════════════════ */
.launches-section {
  background: var(--off-white);
  padding: 40px 24px 80px;
  min-height: 50vh;
}
.launches-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ══ GRID ═══════════════════════════════════════════════════════════ */
.launches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
  align-items: start;
}

/* ══ LAUNCH CARD ════════════════════════════════════════════════════ */
.launch-card {
  background: var(--white);
  border: 1px solid var(--grey-1);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.launch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

/* Photo */
.lc-photo {
  position: relative;
  height: 220px;
  background: var(--grey-1);
  overflow: hidden;
}
.lc-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.launch-card:hover .lc-photo img { transform: scale(1.04); }
.lc-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--grey-2);
}

/* Status badge */
.lc-status {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  line-height: 1;
}
.status--soon    { background: #1e40af; color: #fff; }
.status--fresh   { background: #166534; color: #fff; }
.status--resale  { background: #92400e; color: #fff; }
.status--sold    { background: #6b7280; color: #fff; }

/* Photo dots */
.lc-photo-dots {
  position: absolute;
  bottom: 10px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
}
.lc-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none; cursor: pointer;
  padding: 0; transition: background 0.2s, transform 0.2s;
}
.lc-dot.active { background: var(--white); transform: scale(1.3); }

/* Body */
.lc-body { padding: 20px 20px 16px; }

.lc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.lc-developer {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-3);
  margin-bottom: 4px;
}
.lc-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 5px;
}
.lc-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--grey-3);
  margin: 0;
}
.lc-price-block { text-align: right; flex-shrink: 0; }
.lc-price-label { font-size: 10px; color: var(--grey-3); margin-bottom: 2px; }
.lc-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.lc-psf { font-size: 11px; color: var(--grey-3); margin-top: 2px; }

.lc-desc {
  font-size: 13px;
  color: var(--grey-3);
  line-height: 1.6;
  margin-bottom: 14px;
}

/* Meta grid */
.lc-meta {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
  margin-bottom: 14px;
  padding: 14px;
  background: var(--off-white);
  border-radius: 12px;
  border: 1px solid var(--grey-1);
}
.lc-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lc-meta-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-3);
}
.lc-meta-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
}
.lc-meta-val--yes     { color: #166534; }
.lc-meta-val--no      { color: #991b1b; }
.lc-meta-val--partial { color: #92400e; }

/* Payment plan */
.lc-plan {
  margin-bottom: 16px;
}
.lc-plan-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-3);
  margin-bottom: 8px;
}
.lc-plan-rows { display: flex; flex-direction: column; gap: 4px; }
.lc-plan-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--off-white);
  border-radius: 8px;
  border: 1px solid var(--grey-1);
}
.lc-plan-name { flex: 1; font-size: 13px; color: var(--black); font-weight: 500; }
.lc-plan-amount { font-size: 13px; font-weight: 700; color: var(--black); white-space: nowrap; }
.lc-plan-date { font-size: 11px; color: var(--grey-3); white-space: nowrap; }

/* Actions */
.lc-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.btn-launch-wa {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--wa);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 2px 12px rgba(37,211,102,0.25);
}
.btn-launch-wa:hover {
  background: var(--wa-dk);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(37,211,102,0.35);
}
.btn-launch-brochure {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--grey-1);
  background: transparent;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-4);
  text-decoration: none;
  transition: all 0.18s;
  white-space: nowrap;
}
.btn-launch-brochure:hover { border-color: var(--black); color: var(--black); }

/* Empty state */
.launches-empty {
  text-align: center;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.le-icon { font-size: 52px; display: block; margin-bottom: 8px; }
.launches-empty h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--black);
}
.launches-empty p { font-size: 14px; color: var(--grey-3); }

/* ══ RESPONSIVE ═════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-actions { display: none; }
}
@media (max-width: 768px) {
  .launches-hero { padding: calc(var(--nav-h) + 28px) 16px 28px; }
  .launches-section { padding: 24px 16px 60px; }
  .launches-grid { grid-template-columns: 1fr; gap: 16px; }
  .lc-header { flex-direction: column; gap: 8px; }
  .lc-price-block { text-align: left; }
}
