/* Calex Motors — styles (mobile-first) */

:root {
  --paper: #f6f4ef;
  --surface: #ffffff;
  --ink: #15171a;
  --ink-2: #474c53;
  --muted: #767b82;
  --line: #e4e0d7;
  --line-2: #d3cec2;
  --charcoal: #232426;

  --accent: #1e5e54;
  --accent-ink: #154840;
  --accent-soft: #e3eeea;
  --amber: #85560f;
  --amber-soft: #f6ecdb;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 22, 26, 0.05), 0 12px 32px -16px rgba(20, 22, 26, 0.22);
  --header-h: 64px;

  --font-display: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.i { width: 18px; height: 18px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 15px/1 var(--font-display); letter-spacing: -0.005em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); }
.btn-line { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost-light:hover { border-color: #fff; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 15px/1.2 var(--font-display); text-decoration: none; color: var(--ink);
  padding-bottom: 2px; border-bottom: 1.5px solid var(--line-2);
}
.link-arrow:hover { border-color: var(--ink); }
.link-arrow .i { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover .i { transform: translateX(3px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 12px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; min-height: var(--header-h);
  background: rgba(246, 244, 239, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 10px; height: var(--header-h); }
.brand { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; margin-right: auto; }
.brand b { font: 800 21px/1 var(--font-display); letter-spacing: .16em; padding-left: .16em; }
.brand small {
  display: flex; align-items: center; gap: 6px; margin-top: 5px;
  font: 700 8.5px/1 var(--font-display); letter-spacing: .38em; padding-left: .38em; color: var(--ink-2);
}
.brand small::before, .brand small::after { content: ""; width: 12px; height: 1px; background: currentColor; }

.nav { display: none; }
.nav a {
  text-decoration: none; font: 600 15px/1 var(--font-display); color: var(--ink-2);
  padding: 10px 12px; border-radius: 8px;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-2); background: transparent; cursor: pointer; text-decoration: none; color: var(--ink);
}
.icon-btn:hover { border-color: var(--ink); }
.header-wa { display: none; }

.nav.is-open {
  display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0;
  background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 12px 16px;
  box-shadow: 0 16px 24px -20px rgba(0,0,0,.3);
}
.nav.is-open a { padding: 14px 12px; font-size: 17px; }
.nav.is-open a[aria-current="page"] { background: var(--surface); }

@media (min-width: 900px) {
  .nav, .nav.is-open { display: flex; gap: 2px; position: static; flex-direction: row; padding: 0; background: none; border: 0; box-shadow: none; margin-right: 12px; }
  .nav.is-open a { padding: 10px 12px; font-size: 15px; }
  .nav a[aria-current="page"], .nav.is-open a[aria-current="page"] { background: none; box-shadow: inset 0 -2px 0 var(--ink); border-radius: 0; }
  .menu-btn { display: none; }
  .header-wa { display: inline-flex; }
}

/* ---------- Hero (home) ---------- */
.hero { padding: 28px 0 44px; }
.hero-grid { display: grid; gap: 32px; }
.hero h1 { font-size: clamp(2.3rem, 8vw, 4rem); font-weight: 800; letter-spacing: -0.035em; margin: 16px 0 16px; }
.hero h1 span { color: var(--accent); }
.hero-lead { font-size: clamp(1.03rem, 2.6vw, 1.2rem); color: var(--ink-2); max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-actions .btn { flex: 1 1 auto; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; font-size: 14px; color: var(--ink-2); }
.hero-facts li { display: inline-flex; align-items: center; gap: 6px; }
.hero-facts .i { color: var(--accent); width: 16px; height: 16px; }

.hero-media { position: relative; min-height: 200px; }
.hero-media > a > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; background: #e9e6df; }
.hero-tag {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  background: var(--surface); border-radius: 14px; box-shadow: var(--shadow); text-decoration: none;
}
.hero-tag-text { flex: 1; min-width: 0; line-height: 1.3; }
.hero-tag-text small { display: block; font: 700 11px/1.2 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.hero-tag-text b { display: block; font: 800 16px/1.25 var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-tag-text span { font-size: 14px; color: var(--ink-2); }
.hero-tag > .i { color: var(--muted); }

@media (min-width: 900px) {
  .hero { padding: 64px 0 88px; }
  .hero-grid { grid-template-columns: 1.02fr 1fr; align-items: center; gap: 64px; }
  .hero-actions .btn { flex: 0 0 auto; }
  .hero-tag { left: -32px; right: auto; bottom: 32px; min-width: 300px; padding: 14px 18px; }
}

/* ---------- Grade stamp ---------- */
.grade-box {
  display: inline-grid; place-items: center; flex: none;
  min-width: 48px; height: 48px; padding: 0 6px;
  border: 2px solid var(--accent); border-radius: 10px; background: var(--accent-soft); color: var(--accent);
  font: 800 19px/1 var(--font-display); letter-spacing: -0.03em;
}
.grade { display: flex; align-items: center; gap: 12px; }
.grade-text { font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.grade-text b { display: block; font: 700 14px/1.3 var(--font-display); color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: 52px 0; }
.section--tight { padding-top: 12px; }
@media (min-width: 900px) { .section { padding: 88px 0; } .section--tight { padding-top: 24px; } }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 32px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); font-weight: 800; margin-top: 10px; }
.section-head p { color: var(--ink-2); max-width: 38em; margin-top: 10px; }
.bg-surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Trust strip ---------- */
.trust { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; }
.trust-item { display: flex; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.trust-item:last-child { border-bottom: 0; }
.trust-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); flex: none; }
.trust-icon .i { width: 20px; height: 20px; }
.trust-item h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.trust-item p { font-size: 14px; color: var(--ink-2); margin-top: 3px; }
@media (min-width: 800px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-item { padding: 30px 28px; border-bottom: 0; border-right: 1px solid var(--line); }
  .trust-item:first-child { padding-left: 0; }
  .trust-item:last-child { border-right: 0; padding-right: 0; }
}

/* ---------- Car cards ---------- */
.car-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .car-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .car-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: #e9e6df; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-media img { transform: scale(1.035); }
.no-photo { display: grid; place-items: center; height: 100%; color: var(--muted); font-size: 14px; }

.status {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px;
  font: 700 12px/1 var(--font-display); letter-spacing: .02em; background: var(--surface); color: var(--ink);
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--available { color: var(--accent); }
.status--reserved { color: var(--amber); }
.status--arriving { color: #2d5a8a; }
.status--sold { color: #fff; background: var(--charcoal); }
.photo-count {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 9px; border-radius: 999px; background: rgba(21,23,26,.72); color: #fff; font-size: 12px; font-weight: 600;
}
.photo-count .i { width: 14px; height: 14px; }

.card-body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 16px 16px 18px; }
@media (min-width: 640px) { .card-body { padding: 18px 20px 20px; } }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card-title { font-size: 19px; font-weight: 800; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-trim { font-size: 14px; color: var(--muted); margin-top: 3px; }
.card-price { font: 800 20px/1.2 var(--font-display); letter-spacing: -0.02em; white-space: nowrap; }
.card-price--ask { font-size: 14px; font-weight: 700; color: var(--ink-2); padding-top: 4px; }
.card-stats { display: flex; flex-wrap: wrap; gap: 6px; }
.card-stats li { font-size: 13px; line-height: 1; padding: 7px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }
.card-cond { padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.card-notes { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.card-notes li { display: flex; gap: 8px; line-height: 1.4; }
.card-notes .i { width: 16px; height: 16px; color: var(--accent); margin-top: 1px; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.card.is-sold .card-media img { filter: grayscale(1); opacity: .75; }
.card.is-sold .card-price { text-decoration: line-through; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 24px; }
.bg-surface .step { background: var(--paper); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; margin-bottom: 18px; font: 800 13px/1 var(--font-display); letter-spacing: .12em; color: var(--accent);
}
.step h3 { font-size: 18px; font-weight: 800; }
.step p { color: var(--ink-2); font-size: 15px; margin-top: 8px; }

/* ---------- Grade guide ---------- */
.guide { display: grid; gap: 16px; }
@media (min-width: 900px) { .guide { grid-template-columns: 1.35fr 1fr; align-items: start; } }
.guide-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.guide-card h3 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 16px 20px; border-bottom: 1px solid var(--line); }
.guide-row { display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.guide-row:last-child { border-bottom: 0; }
.guide-row .grade-box { width: 58px; min-width: 0; height: 40px; font-size: 16px; }
.guide-row b { font: 700 15px/1.3 var(--font-display); }
.guide-row p { font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.guide-row--warn .grade-box { border-color: var(--amber); background: var(--amber-soft); color: var(--amber); font-size: 14px; }
.guide-note { font-size: 14px; color: var(--ink-2); padding: 14px 20px; background: var(--paper); border-top: 1px solid var(--line); }

/* ---------- CTA band ---------- */
.cta { display: grid; gap: 24px; padding: 32px 24px; border-radius: 24px; background: var(--charcoal); color: #fff; }
.cta h2 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); font-weight: 800; color: #fff; }
.cta p { color: rgba(255,255,255,.74); margin-top: 12px; max-width: 34em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-actions .btn { flex: 1 1 auto; }
.cta-notes { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.7); }
.cta-notes li { display: inline-flex; align-items: center; gap: 6px; }
.cta-notes .i { width: 15px; height: 15px; color: #8fc7b9; }
@media (min-width: 900px) {
  .cta { grid-template-columns: 1.5fr auto; align-items: center; padding: 56px 60px; }
  .cta-actions { flex-direction: column; }
}

/* ---------- Inner page hero ---------- */
.page-hero { padding: 32px 0 8px; }
.page-hero h1 { font-size: clamp(2.1rem, 6.5vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; margin-top: 14px; }
.page-hero p { color: var(--ink-2); margin-top: 12px; max-width: 38em; font-size: clamp(1rem, 2.4vw, 1.12rem); }
@media (min-width: 900px) { .page-hero { padding: 64px 0 16px; } }

/* ---------- Inventory toolbar ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin: 24px 0 20px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px; width: calc(100% + 40px); }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .chips { margin: 0; padding: 2px 0; width: auto; } }
.chip {
  flex: none; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface);
  font: 600 14px/1 var(--font-display); cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.chip span { opacity: .6; margin-left: 4px; font-weight: 500; }
.toolbar-right { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
@media (min-width: 640px) { .toolbar-right { width: auto; } }
.result-count { font-size: 14px; color: var(--muted); white-space: nowrap; }
.select {
  appearance: none; -webkit-appearance: none; min-height: 40px; padding: 0 38px 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23474c53' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  font: 600 14px/1 var(--font-display); color: var(--ink); cursor: pointer;
}
.empty { padding: 48px 24px; text-align: center; background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--ink-2); }
.empty h2 { font-size: 22px; margin-bottom: 8px; color: var(--ink); }
.empty .btn { margin-top: 18px; }

/* ---------- Car detail ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; padding: 16px 0 14px; font-size: 14px; color: var(--muted); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }

.detail { display: grid; gap: 20px; grid-template-areas: "gallery" "aside" "sections"; padding-bottom: 56px; }
.detail-gallery { grid-area: gallery; min-width: 0; }
.detail-aside { grid-area: aside; min-width: 0; }
.detail-sections { grid-area: sections; min-width: 0; display: grid; gap: 16px; align-content: start; }
@media (min-width: 980px) {
  .detail { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "gallery aside" "sections aside"; gap: 24px 40px; padding-bottom: 88px; }
  .detail-aside { align-self: start; position: sticky; top: calc(var(--header-h) + 20px); }
}

.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; background: #1d1e20; margin: 0 -20px; border-radius: 0; }
@media (min-width: 640px) { .gallery-main { margin: 0; border-radius: var(--radius); } }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 3; overscroll-behavior-x: contain; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; border: 0; padding: 0; margin: 0; background: none; cursor: zoom-in; }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--ink); cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.gallery-nav:hover { background: #fff; }
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
@media (hover: none) { .gallery-nav { display: none; } }
.gallery-counter {
  position: absolute; right: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px;
  background: rgba(0,0,0,.6); color: #fff; font: 600 13px/1 var(--font-display); pointer-events: none;
}
.gallery-status { position: absolute; top: 12px; left: 12px; }
.gallery-status .status { position: static; }
.thumbs { position: relative; display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; padding-bottom: 6px; scrollbar-width: thin; }
.thumb { flex: 0 0 76px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #e9e6df; cursor: pointer; opacity: .62; transition: opacity .15s, border-color .15s; }
.thumb:hover { opacity: 1; }
.thumb[aria-current="true"] { opacity: 1; border-color: var(--ink); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .thumb { flex-basis: 92px; } }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
@media (min-width: 640px) { .panel { padding: 26px; } }
.panel > h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.015em; }
.panel > p { color: var(--ink-2); margin-top: 10px; }

.detail-title { font-size: clamp(1.7rem, 5vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; }
.detail-trim { color: var(--ink-2); margin-top: 6px; }
.detail-price { font: 800 clamp(1.9rem, 5.4vw, 2.4rem)/1 var(--font-display); letter-spacing: -0.03em; margin-top: 20px; }
.detail-price--ask { font-size: 1.5rem; }
.price-note { font-size: 13px; color: var(--muted); margin-top: 6px; }

.keyfacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 20px 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.keyfact { background: var(--surface); padding: 12px 14px; }
.keyfact small { display: block; font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.keyfact b { display: block; font: 700 15px/1.3 var(--font-display); margin-top: 2px; }

.grade-panel { border-radius: var(--radius-sm); background: var(--accent-soft); padding: 14px; }
.grade-panel-head { display: flex; gap: 12px; align-items: center; }
.grade-panel-head .grade-box { background: #fff; min-width: 54px; height: 54px; font-size: 21px; }
.grade-panel-head b { display: block; font: 800 16px/1.25 var(--font-display); }
.grade-panel-head small { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.35; margin-top: 2px; }
.grade-dl { display: grid; gap: 0; margin: 12px 0 0; background: rgba(255,255,255,.65); border-radius: 8px; }
.grade-dl div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 9px 12px; font-size: 14px; border-bottom: 1px solid rgba(30,94,84,.12); }
.grade-dl div:last-child { border-bottom: 0; }
.grade-dl dt { color: var(--ink-2); }
.grade-dl dd { margin: 0; font-weight: 600; }

.status-note { display: flex; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: var(--radius-sm); background: #e8eef5; color: #20456b; font-size: 14px; line-height: 1.45; }
.status-note--reserved { background: var(--amber-soft); color: var(--amber); }
.status-note--sold { background: #ecebea; color: var(--ink-2); }
.status-note .i { margin-top: 1px; }

.enquire { display: grid; gap: 8px; margin-top: 18px; }
.enquire-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.policies { display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.policies li { display: flex; gap: 8px; line-height: 1.4; }
.policies .i { width: 16px; height: 16px; color: var(--accent); margin-top: 1px; }

.checklist { display: grid; gap: 10px; margin-top: 14px; }
.checklist li { display: flex; gap: 10px; line-height: 1.5; color: var(--ink); }
.checklist .i { color: var(--accent); margin-top: 3px; }
.features { display: grid; gap: 10px 24px; margin-top: 14px; }
@media (min-width: 560px) { .features { grid-template-columns: 1fr 1fr; } }
.features li { display: flex; gap: 10px; line-height: 1.45; font-size: 15px; }
.features .i { width: 16px; height: 16px; color: var(--accent); margin-top: 3px; }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 15px; }
.spec-table th, .spec-table td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 44%; padding-right: 12px; color: var(--muted); font-weight: 500; }
.spec-table td { font-weight: 600; }

.docs { display: grid; gap: 12px; margin-top: 16px; }
@media (min-width: 560px) { .docs { grid-template-columns: 1fr 1fr; } }
.doc { display: block; width: 100%; padding: 0; text-align: left; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); cursor: zoom-in; transition: border-color .15s; }
.doc:hover { border-color: var(--ink); }
.doc img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; background: #fff; border-bottom: 1px solid var(--line); }
.doc-label { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.doc-label .i { color: var(--accent); }
.doc b { display: block; font: 700 15px/1.25 var(--font-display); }
.doc small { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
body.has-mobile-bar .site-footer { padding-bottom: 100px; }
@media (min-width: 980px) { .mobile-bar { display: none; } body.has-mobile-bar .site-footer { padding-bottom: 28px; } }

/* ---------- About ---------- */
.split { display: grid; gap: 28px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }
.prose p { color: var(--ink-2); font-size: 1.05rem; margin-top: 14px; }
.prose p:first-of-type { margin-top: 18px; }
.prose h2 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); font-weight: 800; margin-top: 10px; }

.promise { display: grid; gap: 12px; }
@media (min-width: 720px) { .promise { grid-template-columns: repeat(2, 1fr); } }
.promise li { display: flex; gap: 14px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.promise h3 { font-size: 17px; font-weight: 800; }
.promise p { font-size: 15px; color: var(--ink-2); margin-top: 4px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 12px; }
@media (min-width: 720px) { .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.contact-card {
  display: flex; align-items: center; gap: 16px; padding: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; transition: border-color .15s, box-shadow .15s;
}
a.contact-card:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.contact-card .ci { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--paper); flex: none; }
.contact-card .ci .i { width: 22px; height: 22px; }
.contact-card small { display: block; font-size: 13px; color: var(--muted); }
.contact-card b { display: block; font: 800 19px/1.25 var(--font-display); letter-spacing: -0.01em; word-break: break-word; }
.contact-card em { display: block; font-style: normal; font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.contact-card > .i:last-child { margin-left: auto; color: var(--muted); }
.contact-card--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.contact-card--primary .ci { background: rgba(255,255,255,.14); }
.contact-card--primary small, .contact-card--primary em, .contact-card--primary > .i:last-child { color: rgba(255,255,255,.78); }
a.contact-card--primary:hover { border-color: var(--accent-ink); background: var(--accent-ink); }

.social-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.listing-links { display: grid; gap: 8px; margin-top: 16px; }
.listing-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; }
.listing-links a:hover { border-color: var(--ink); }
.listing-links .i { color: var(--muted); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font: 700 17px/1.35 var(--font-display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 24px/1 var(--font-body); color: var(--muted); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding: 0 0 20px; max-width: 44em; margin-top: -4px; }

.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1.2fr; gap: 72px; } }
.two-col h2 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 800; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,.7); padding: 52px 0 28px; font-size: 15px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.logo-mark { width: 84px; height: 84px; display: block; }
.footer-brand p { margin-top: 16px; max-width: 26em; font-size: 14px; }
.site-footer h4 { font: 700 12px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-links { display: grid; gap: 9px; }
.site-footer a { text-decoration: none; color: rgba(255,255,255,.86); }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.55); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(12,13,14,.95); }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 60px 12px 16px; max-width: 100%; }
.lb-figure img { max-width: min(calc(100vw - 24px), 1500px); max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); object-fit: contain; border-radius: 4px; user-select: none; }
.lb-caption { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 16px; color: rgba(255,255,255,.8); font-size: 14px; text-align: center; }
.lb-caption a { color: #fff; font-weight: 600; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.24); }
.lb-btn .i { width: 22px; height: 22px; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (hover: none) { .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
