/* ── Reset & Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cedar-dark:  #1e1009;
  --cedar:       #4a2c17;
  --rust:        #a8774b;
  --rust-dark:   #8a5e35;
  --stone:       #8b7355;
  --stone-light: #b09a80;
  --sage:        #6e7d62;
  --sand:        #e2d0b8;
  --cream:       #f7f3ec;
  --cream-dark:  #ece4d6;
  --white:       #ffffff;
  --text:        #1c1008;
  --text-muted:  #7a6b59;
  --border:      #ddd3c3;
  --shadow:      0 4px 24px rgba(30, 16, 9, 0.08);
  --shadow-lg:   0 12px 48px rgba(30, 16, 9, 0.14);
  --radius:      10px;
  --nav-h:       76px;
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
  text-transform: uppercase;
}

.btn-cedar {
  background: var(--rust);
  color: var(--white);
  border-color: var(--rust);
}

.btn-cedar:hover {
  background: var(--rust-dark);
  border-color: var(--rust-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 119, 75, 0.35);
}

.btn-stone {
  background: transparent;
  color: var(--cedar);
  border-color: var(--stone-light);
}

.btn-stone:hover {
  border-color: var(--cedar);
  background: rgba(74, 44, 23, 0.04);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
  font-size: 0.82rem;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--stone);
}

.btn-no-caps {
  text-transform: none;
  letter-spacing: 0.01em;
}

/* ── Navigation ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(18, 10, 4, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: box-shadow 0.3s;
}

.nav.scrolled { box-shadow: 0 4px 28px rgba(0, 0, 0, 0.4); }

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-logo-main {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.nav-logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1;
}

.nav-back {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  transition: all 0.2s;
}

.nav-back:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ── Carousel ──────────────────────────────────────────────────── */
.lot-hero {
  padding-top: var(--nav-h);
  background: var(--cedar-dark);
}

.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #111;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 560px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
}

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

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 10;
  backdrop-filter: blur(4px);
}

.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

.carousel-prev:hover,
.carousel-next:hover {
  background: rgba(168, 119, 75, 0.7);
  border-color: transparent;
  transform: translateY(-50%) scale(1.05);
}

.carousel-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
  background: var(--rust);
  transform: scale(1.25);
}

/* ── Coming Soon Carousel Placeholder ─────────────────────────── */
.coming-soon-carousel {
  width: 100%;
  height: 560px;
  background: var(--cedar-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.coming-soon-label {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--sand);
  letter-spacing: 0.02em;
}

.coming-soon-sub {
  font-size: 0.9rem;
  color: rgba(226, 208, 184, 0.45);
  letter-spacing: 0.04em;
}

/* ── Lot Info ──────────────────────────────────────────────────── */
.lot-info {
  padding: 64px 0 80px;
  background: var(--cream);
}

.lot-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
}

.lot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.lot-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 10px;
  display: block;
}

.lot-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.lot-price {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--rust);
  line-height: 1.1;
  white-space: nowrap;
  align-self: center;
}

/* ── Stat Row ──────────────────────────────────────────────────── */
.lot-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--cedar-dark);
  border-radius: var(--radius);
  padding: 24px 40px;
  margin-bottom: 36px;
}

.lot-stat {
  text-align: center;
  padding: 0 40px;
}

.lot-stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
}

.lot-stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

.lot-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

/* ── Feature Badges ────────────────────────────────────────────── */
.lot-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.lot-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1.5px solid transparent;
}

.lot-badge-present {
  background: rgba(168, 119, 75, 0.12);
  border-color: rgba(168, 119, 75, 0.35);
  color: var(--rust-dark);
}

.lot-badge-present .badge-icon { color: var(--rust); }

/* ── Features List ─────────────────────────────────────────────── */
.lot-features-block {
  margin-bottom: 48px;
  padding: 28px 32px;
  background: var(--cream-dark);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.lot-features-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 16px;
}

.lot-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lot-features-list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.lot-features-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--rust);
  font-size: 0.8rem;
}

/* ── Description Block ─────────────────────────────────────────── */
.lot-description-block {
  margin-bottom: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.lot-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 68ch;
}

/* ── Price status modifiers ─────────────────────────────────────── */
.lot-price-sold {
  color: var(--stone) !important;
  text-decoration: line-through;
}

.lot-price-pending::after {
  content: ' — Pending';
  font-size: 0.55em;
  color: var(--rust);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* ── CTA Row ───────────────────────────────────────────────────── */
.lot-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.lot-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

/* ── Footer ────────────────────────────────────────────────────── */
.footer {
  background: #100805;
  text-align: center;
  padding: 48px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.footer-sub {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.18);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .carousel-track { height: 280px; }

  .carousel-prev,
  .carousel-next {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .lot-header {
    flex-direction: column;
    gap: 8px;
  }

  .lot-price { align-self: flex-start; }

  .lot-stats {
    padding: 20px 16px;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .lot-stat { padding: 8px 20px; }
  .lot-stat-divider { display: none; }

  .lot-cta { flex-direction: column; }
  .lot-cta .btn { width: 100%; }
}

@media (max-width: 560px) {
  .lot-info { padding: 48px 0 64px; }
  .lot-container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
}
