:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --green: #047857;
  --shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 28px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px 0;
}
.brand img { width: 150px; height: 54px; object-fit: contain; }
.links { display: flex; align-items: center; justify-content: flex-end; gap: 18px; flex-wrap: wrap; font-weight: 750; color: #334155; }
.links a:hover { color: var(--blue); }
.breadcrumb { margin-top: 28px; color: #64748b; font-size: 14px; font-weight: 750; }
.breadcrumb a { color: var(--blue); }
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  padding: 28px 0 20px;
}
.eyebrow { color: var(--green); font-size: 14px; font-weight: 900; text-transform: uppercase; }
.hero h1 { margin: 8px 0 16px; font-size: clamp(38px, 5.8vw, 66px); line-height: 1.02; }
.hero p { margin: 0; color: var(--muted); font-size: 18px; }
.hero-media img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  color: white;
  background: var(--blue);
  border-radius: 15px;
  font-weight: 900;
}
.btn:hover { background: var(--blue-dark); }
.btn.secondary { color: var(--text); background: white; border: 1px solid var(--border); }
.facts, .spec-grid, .price-grid, .gallery-grid { display: grid; gap: 14px; }
.facts { grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 20px 0; }
.fact, .spec, .price-card {
  padding: 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}
.fact { text-align: center; }
.fact strong { display: block; font-size: 21px; line-height: 1.2; }
.fact span { color: #64748b; font-size: 12px; font-weight: 800; }
.section {
  margin: 20px 0;
  padding: 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
}
.section h2 { margin: 0 0 14px; font-size: clamp(28px, 4vw, 42px); line-height: 1.08; }
.section h3 { margin: 0 0 10px; font-size: 21px; }
.section p { color: var(--muted); }
.spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spec ul { margin: 0; padding-left: 20px; color: #334155; }
.spec li { margin: 7px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 11px; color: #1e40af; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 13px; font-size: 13px; font-weight: 850; }
.gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-grid a { display: block; overflow: hidden; background: #f1f5f9; border-radius: 18px; }
.gallery-grid img { width: 100%; height: 240px; object-fit: cover; transition: transform 0.2s ease; }
.gallery-grid a:hover img { transform: scale(1.02); }
.gallery-grid .floorplan { grid-column: span 2; }
.gallery-grid .floorplan img { object-fit: contain; background: white; }
.price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price-card strong { display: block; color: var(--blue); font-size: 28px; }
.price-summary { padding: 18px; color: white; background: #0f172a; border-radius: 18px; }
.price-summary strong { color: white; }
.notice { padding: 16px 18px; color: #334155; background: #f8fafc; border: 1px solid var(--border); border-radius: 16px; }
.notice strong { color: var(--text); }
.footer { padding: 32px 0; color: #64748b; text-align: center; }
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .links { font-size: 14px; gap: 12px; }
}
@media (max-width: 720px) {
  .nav { align-items: flex-start; }
  .brand img { width: 112px; height: 44px; }
  .links { max-width: 65%; }
  .facts, .spec-grid, .price-grid, .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .floorplan { grid-column: auto; }
  .gallery-grid img { height: auto; max-height: 480px; }
  .section { padding: 22px 18px; }
  .btns .btn { width: 100%; }
}
