:root {
  --bg: #f3f5f7;
  --surface: #ffffff;
  --primary: #081539;
  --accent: #22c55e;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(2, 8, 23, 0.08);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page-content { flex: 1; }
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, 92%); margin: 0 auto; }

.hero {
  min-height: 55vh;
  color: #fff;
  display: grid;
  align-items: center;
  background: linear-gradient(120deg, rgba(3, 7, 18, .75), rgba(3, 7, 18, .30)),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1800&q=80') center/cover;
}
.hero-home { min-height: 58vh; }
.hero-list { min-height: 60vh; }
.hero-content { max-width: 560px; padding: 70px 0; }
.center-hero .hero-content { margin: 0 auto; }
.hero-list .hero-content { margin-left: 0; margin-right: auto; padding-left: 100px; }
.centered { text-align: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); margin: .4rem 0; font-family: "Playfair Display", serif; font-weight: 700; }
<<<<<<< codex/change-card-text-colors-6t57cw

.top-brand-name { font-family: "Playfair Display", serif; }
=======
>>>>>>> main
.kicker { letter-spacing: .25rem; text-transform: uppercase; font-size: .72rem; opacity: .8; }
.subtitle { color: #e2e8f0; line-height: 1.6; }
.actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-light { border-color: #d4dbe6; color: #334155; background: #fff; }
.btn-with-icon { display: inline-flex; align-items: center; gap: 8px; }
.btn-icon { width: 16px; height: 16px; }

.section { padding: 64px 0; }
.section-tight { padding-top: 36px; }
.section-head { text-align: center; margin-bottom: 28px; }
.section-head h2 { font-size: 2rem; margin-bottom: 6px; }
.section-head p { color: var(--muted); }
.compact-head { margin-bottom: 20px; }

.listings-head { text-align: left; margin-bottom: 24px; padding-left: 100px; }
.listings-head h2, .listings-head p { max-width: 760px; }

.grid { display: grid; gap: 20px; }
.cards-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(2, 8, 23, 0.12);
}
.card img { width: 100%; height: 170px; object-fit: cover; }
.card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.badge { text-transform: uppercase; font-size: .72rem; color: #94a3b8; letter-spacing: .12rem; }
.card h3 { margin: 8px 0 6px; font-size: 1.2rem; min-height: 58px; line-height: 1.25; }
.meta { color: var(--muted); font-size: .92rem; line-height: 1.55; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 12px; }
.price { font-size: 1.35rem; font-weight: 700; color: #16a34a; }
.card .price { color: var(--text); }
.link { color: #64748b; font-weight: 500; white-space: nowrap; font-size: .88rem; letter-spacing: .01em; transition: color .2s ease; }
.link:hover { color: #16a34a; text-decoration: underline; text-underline-offset: 2px; }
.link-accent { color: #16a34a; }
.link-accent:hover { color: #15803d; }
.card .link { color: #16a34a; }
.card .link:hover { color: #15803d; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; text-align: center; }
.stats strong { display: block; font-size: 2rem; }
.stats span { text-transform: uppercase; letter-spacing: .13rem; font-size: .75rem; color: #64748b; }

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.list-wrapper { padding: 14px; }
.list-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.filters { position: sticky; top: 16px; border: 1px solid #dbe4ef; background: linear-gradient(180deg, #ffffff, #f8fafc); }
.filters h3 { margin-top: 2px; margin-bottom: 12px; }
#filter-form { display: grid; gap: 8px; }
#filter-form .input { margin-bottom: 0; }
.input, select {
  width: 100%;
  border: 1px solid #d4deea;
  border-radius: 12px;
  padding: 11px 12px;
  margin-bottom: 10px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input:focus, select:focus { outline: none; border-color: #94a3b8; box-shadow: 0 0 0 3px rgba(148, 163, 184, .2); }

.detail-hero {
  height: 66px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.detail-hero-blur {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(3,7,18,.66), rgba(3,7,18,.46)),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1800&q=80') center/cover;
  filter: blur(6px);
  transform: scale(1.06);
}
.detail-hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.detail-hero-left { display: flex; align-items: center; gap: 10px; }
.detail-back {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.2);
}
.detail-hero-left strong { font-family: "Playfair Display", serif; font-size: 1.15rem; }

.nav-socials { display: flex; gap: 10px; }
.social-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.social-icon svg { width: 14px; height: 14px; }

.detail-shell { padding: 30px; }
.detail-title-block { text-align: center; margin-bottom: 26px; }
.detail-title-block h1 { font-size: clamp(2rem, 3vw, 3.1rem); margin: .4rem 0 .5rem; }
.detail-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
.gallery-main { width: 100%; height: 430px; object-fit: cover; border-radius: 14px; }
.thumb-row { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; }
.thumb-row img { width: 92px; height: 70px; border-radius: 8px; object-fit: cover; cursor: pointer; border: 2px solid transparent; }
.thumb-row img.active { border-color: #16a34a; }
.price-box .price { font-size: 2.7rem; }
.price-box h2 { margin: 8px 0 12px; font-size: 2rem; }
.detail-actions { margin-top: 16px; }
.detail-actions .btn { width: 100%; text-align: center; }

.detail-about { text-align: center; margin: 28px 0; }
.detail-about h2 { margin-bottom: 10px; }
.detail-about p { width: min(760px, 100%); margin: 0 auto; }

.map-panel h3 { margin-top: 0; }
.map-wrap { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
#map-frame { width: 100%; height: 380px; border: 0; display: block; }

footer { background: var(--primary); color: #e2e8f0; margin-top: auto; }
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 26px 0;
}
.footer-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.footer-cta small { opacity: .85; }
.notice { color: var(--muted); text-align: center; padding: 18px; }

@media (max-width: 960px) {
  .list-layout, .detail-grid { grid-template-columns: 1fr; }
  .filters { position: static; top: auto; }
  .gallery-main, #map-frame { height: 320px; }
  .hero { min-height: 44vh; }
  .hero-content { padding: 54px 0; }
  .detail-shell { padding: 18px; }
  .price-box .price { font-size: 2rem; }
  .price-box h2 { font-size: 1.4rem; }
  .footer-cta { align-items: flex-start; }
}
