/* Elegance Realty — one stylesheet for the website, admin panel and agent CRM */
:root {
  --bg: #0a0a0a; --bg-2: #111110; --panel: #151514; --panel-2: #1b1a18; --line: #2a2722; --line-2: #3a3428;
  --gold: #c9a96a; --gold-2: #e2c98f; --gold-dim: #8f7748; --ink: #f4eee2; --ink-2: #c9c2b4; --mute: #8d877b;
  --ok: #7fbf8e; --warn: #e0b45c; --bad: #e07a6c; --info: #8fb4d9;
  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Avenir Next', 'Segoe UI', system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --r: 4px; --shadow: 0 18px 50px rgba(0, 0, 0, .55);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --field-bg: #0e0e0d; --btn-ink: #14110a; --toast-bg: #201d17; --nav-bg: rgba(10, 10, 10, .9); --bar-bg: rgba(14, 14, 13, .96); --overlay: rgba(0, 0, 0, .72);
  --ph-grad: linear-gradient(135deg, #171613, #0e0e0d); --dim-ink: #55514a; --ph-color: var(--ph-color); --glass: rgba(10, 10, 10, .72); --glass-ink: #fff;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f5f1e8; --bg-2: #fbf9f4; --panel: #ffffff; --panel-2: #f3eee3; --line: #e5ddcc; --line-2: #d3c7ad;
  --gold: #9a7a38; --gold-2: #b28d45; --gold-dim: #cdb98e; --ink: #1b1710; --ink-2: #463f33; --mute: #7a7265;
  --ok: #2f8a4a; --warn: #a3741a; --bad: #c0493a; --info: #3d6f9e; --shadow: 0 18px 50px rgba(60, 45, 20, .18);
  --field-bg: #ffffff; --btn-ink: #1b1710; --toast-bg: #fffdf8; --nav-bg: rgba(250, 247, 240, .92); --bar-bg: rgba(252, 250, 245, .97); --overlay: rgba(40, 30, 15, .45);
  --ph-grad: linear-gradient(135deg, #efe8d8, #e4dbc6); --dim-ink: #b9b0a0; --ph-color: #9a9185; --glass: rgba(255, 253, 248, .85); --glass-ink: #1b1710;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: .01em; margin: 0; color: var(--ink); line-height: 1.15; }
h1 { font-size: clamp(34px, 6vw, 60px); } h2 { font-size: clamp(26px, 4vw, 36px); } h3 { font-size: 23px; } h4 { font-size: 19px; }
p { margin: 0 0 12px; } a { color: var(--gold); text-decoration: none; } a:hover { color: var(--gold-2); }
img, video { max-width: 100%; display: block; }
.muted { color: var(--mute); } .gold { color: var(--gold); } .small { font-size: 13.5px; } .center { text-align: center; }
.eyebrow { font-size: 11.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.ico { display: inline-flex; flex: none; } .ico svg { display: block; }
.row { display: flex; gap: 12px; align-items: center; } .row.wrap { flex-wrap: wrap; } .row.between { justify-content: space-between; } .grow { flex: 1; min-width: 0; }
.stack { display: grid; gap: 14px; } .stack.tight { gap: 8px; } .hide { display: none !important; }
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dim), transparent); border: 0; margin: 22px 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 1px solid var(--gold); background: var(--gold); color: var(--btn-ink);
  font: 500 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; border-radius: var(--r); cursor: pointer; transition: background .15s, color .15s, border-color .15s, opacity .15s; white-space: nowrap; position: relative; }
.btn:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--btn-ink); }
.btn.ghost { background: transparent; color: var(--gold); border-color: var(--line-2); } .btn.ghost:hover { border-color: var(--gold); background: rgba(201, 169, 106, .08); color: var(--gold-2); }
.btn.danger { background: transparent; color: var(--bad); border-color: rgba(224, 122, 108, .5); } .btn.danger:hover { background: rgba(224, 122, 108, .12); border-color: var(--bad); }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 11.5px; letter-spacing: .12em; } .btn.block { width: 100%; }
.btn:disabled { opacity: .55; cursor: default; }
.btn.loading { color: transparent !important; } .btn.loading::after { content: ''; position: absolute; width: 16px; height: 16px; border: 2px solid currentColor; border-color: var(--btn-ink) transparent var(--btn-ink) transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.ghost.loading::after, .btn.danger.loading::after { border-color: var(--gold) transparent var(--gold) transparent; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; background: transparent; border: 1px solid transparent; color: var(--ink-2); border-radius: var(--r); cursor: pointer; flex: none; }
.icon-btn:hover { color: var(--gold); border-color: var(--line-2); } .icon-btn.on { color: var(--gold); } .icon-btn.on svg { fill: var(--gold); }
.link { background: none; border: 0; padding: 0; color: var(--gold); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; min-width: 0; }
.field .lbl { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.field .hint { font-size: 12.5px; color: var(--mute); }
input, select, textarea { width: 100%; min-height: 46px; padding: 10px 12px; background: var(--field-bg); color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r); font: 400 16px/1.3 var(--sans); appearance: none; -webkit-appearance: none; }
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
select { background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 169, 106, .14); }
input::placeholder, textarea::placeholder { color: var(--ph-color); }
input[type=checkbox], input[type=radio] { width: 20px; min-height: 20px; height: 20px; padding: 0; accent-color: var(--gold); appearance: auto; -webkit-appearance: auto; flex: none; }
input[type=date], input[type=time] { color-scheme: dark; }
.check { display: flex; gap: 10px; align-items: center; cursor: pointer; min-height: 40px; }
.grid2 { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid3 { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid4 { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.span2 { grid-column: span 2; } .span-all { grid-column: 1 / -1; }
@media (max-width: 640px) { .grid2, .grid3, .grid4 { grid-template-columns: 1fr; } .grid2.keep, .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .span2 { grid-column: auto; } .grid2.keep .span2, .grid4 .span2 { grid-column: span 2; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 40px; color: var(--ink-2); font-size: 14px; cursor: pointer; background: transparent; font-family: var(--sans); user-select: none; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip.on, .chip:has(input:checked) { border-color: var(--gold); color: var(--gold-2); background: rgba(201, 169, 106, .1); }
.chip:has(input:focus-visible) { outline: 2px solid var(--gold-2); outline-offset: 2px; }
fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 16px 16px; margin: 0; min-width: 0; }
legend { font-family: var(--serif); font-size: 19px; color: var(--gold-2); padding: 0 8px; }

/* ---------- surfaces ---------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.card.pad-0 { padding: 0; overflow: hidden; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 30px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap; }
.badge.ok { color: var(--ok); border-color: rgba(127, 191, 142, .4); } .badge.warn { color: var(--warn); border-color: rgba(224, 180, 92, .45); } .badge.bad { color: var(--bad); border-color: rgba(224, 122, 108, .45); }
.badge.gold { color: var(--gold-2); border-color: var(--gold-dim); } .badge.info { color: var(--info); border-color: rgba(143, 180, 217, .4); }
.empty { text-align: center; padding: 48px 20px; color: var(--mute); border: 1px dashed var(--line-2); border-radius: var(--r); }
.empty h4 { color: var(--ink-2); margin-bottom: 6px; } .empty-mark { color: var(--gold-dim); font-size: 18px; margin-bottom: 10px; } .empty .btn { margin-top: 14px; }
.spinner-wrap { display: grid; place-items: center; padding: 60px 0; } .spinner { width: 30px; height: 30px; border: 2px solid var(--line-2); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; }
.notice { border: 1px solid var(--gold-dim); background: rgba(201, 169, 106, .07); padding: 14px 16px; border-radius: var(--r); color: var(--ink-2); font-size: 14.5px; }
.notice.bad { border-color: rgba(224, 122, 108, .5); background: rgba(224, 122, 108, .07); } .notice.ok { border-color: rgba(127, 191, 142, .45); background: rgba(127, 191, 142, .06); }

#toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(86px + var(--safe-b)); z-index: 1000; display: grid; gap: 8px; width: min(92vw, 440px); pointer-events: none; }
.toast { background: var(--toast-bg); border: 1px solid var(--gold-dim); color: var(--ink); padding: 12px 16px; border-radius: var(--r); box-shadow: var(--shadow); font-size: 14.5px; transition: opacity .35s, transform .35s; }
.toast.error { border-color: var(--bad); } .toast.ok { border-color: var(--ok); } .toast.gone { opacity: 0; transform: translateY(8px); }

.modal-wrap { position: fixed; inset: 0; background: var(--overlay); z-index: 900; display: grid; place-items: center; padding: 20px; overflow-y: auto; backdrop-filter: blur(3px); }
.modal { width: min(100%, 520px); background: var(--panel); border: 1px solid var(--line-2); border-radius: 6px; box-shadow: var(--shadow); display: flex; flex-direction: column; max-height: calc(100dvh - 40px); }
.modal.wide { width: min(100%, 880px); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.modal-body { padding: 20px; overflow-y: auto; display: grid; gap: 16px; align-content: start; }
.modal-foot { padding: 14px 20px calc(14px + var(--safe-b)); border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 640px) { .modal-wrap { padding: 0; place-items: end stretch; } .modal, .modal.wide { width: 100%; max-height: 94dvh; border-radius: 14px 14px 0 0; border-bottom: 0; } .modal-foot .btn { flex: 1; } }

/* ---------- auth screens ---------- */
.auth-shell { min-height: 100dvh; display: grid; place-items: center; padding: 28px 18px; background: radial-gradient(900px 500px at 50% -10%, rgba(201, 169, 106, .13), transparent 70%), var(--bg); }
.auth-card { width: min(100%, 420px); background: var(--panel); border: 1px solid var(--line-2); padding: 34px 28px; border-radius: 6px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.auth-mark { width: 96px; margin: 0 auto 2px; } .auth-card h2 { text-align: center; } .auth-card > .eyebrow, .auth-card > p { text-align: center; }
.code-input { text-align: center; font-size: 28px; letter-spacing: .5em; font-family: var(--serif); padding-left: .5em; }

/* ---------- staff app shell ---------- */
.app { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100dvh; }
.side { background: var(--bg-2); border-right: 1px solid var(--line); padding: 22px 14px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100dvh; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 18px; } .brand img { width: 44px; } .brand b { font-family: var(--serif); font-weight: 500; font-size: 16.5px; letter-spacing: .1em; white-space: nowrap; text-transform: uppercase; line-height: 1.1; display: block; color: var(--ink); } .brand small { color: var(--gold); letter-spacing: .28em; font-size: 9.5px; text-transform: uppercase; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; color: var(--ink-2); border-radius: var(--r); font-size: 15px; cursor: pointer; border: 0; background: none; width: 100%; text-align: left; font-family: var(--sans); position: relative; }
.nav-item:hover { background: var(--panel); color: var(--ink); } .nav-item.on { background: var(--panel-2); color: var(--gold-2); box-shadow: inset 2px 0 0 var(--gold); }
.nav-item .dot { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 20px; background: var(--gold); color: var(--btn-ink); font-size: 11.5px; font-weight: 600; display: grid; place-items: center; }
.side .spacer { flex: 1; } .side .who { padding: 12px; border-top: 1px solid var(--line); margin-top: 8px; font-size: 13.5px; color: var(--mute); overflow-wrap: anywhere; } .side .who b { display: block; color: var(--ink); font-weight: 500; font-size: 15px; }
.main { padding: 28px clamp(16px, 3vw, 40px) 60px; min-width: 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; } .page-head p { margin: 4px 0 0; color: var(--mute); }
.topbar, .tabbar { display: none; }
@media (max-width: 899px) {
  .app { grid-template-columns: 1fr; } .side { display: none; }
  .topbar { display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 10px 16px; }
  .topbar img { width: 34px; } .topbar b { font-family: var(--serif); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: 16px; }
  .main { padding: 20px 16px calc(96px + var(--safe-b)); }
  .tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--bar-bg); backdrop-filter: blur(12px); border-top: 1px solid var(--line-2); padding-bottom: var(--safe-b); }
  .tab { display: grid; justify-items: center; gap: 3px; padding: 9px 2px 8px; color: var(--mute); font-size: 10.5px; letter-spacing: .06em; background: none; border: 0; font-family: var(--sans); cursor: pointer; position: relative; }
  .tab.on { color: var(--gold-2); } .tab .dot { position: absolute; top: 5px; left: calc(50% + 6px); min-width: 16px; height: 16px; border-radius: 16px; background: var(--gold); color: var(--btn-ink); font-size: 10px; font-weight: 600; display: grid; place-items: center; padding: 0 4px; }
}

/* ---------- data ---------- */
.stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; } .stat .k { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); } .stat .v { font-family: var(--serif); font-size: 34px; color: var(--ink); line-height: 1.1; margin-top: 8px; overflow-wrap: anywhere; } .stat .s { font-size: 13px; color: var(--mute); margin-top: 4px; }
.stat.hl { border-color: var(--gold-dim); background: linear-gradient(160deg, rgba(201, 169, 106, .1), transparent 60%), var(--panel); } .stat.hl .v { color: var(--gold-2); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; } th { text-align: left; font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); padding: 12px 14px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; } tr:last-child td { border-bottom: 0; } td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tr.click { cursor: pointer; } tr.click:hover td { background: var(--panel-2); }
.list { display: grid; gap: 10px; }
.item { display: flex; gap: 14px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; min-width: 0; } .item.click { cursor: pointer; } .item.click:hover { border-color: var(--gold-dim); }
.item .t { font-weight: 500; color: var(--ink); overflow-wrap: anywhere; } .item .s { font-size: 13.5px; color: var(--mute); overflow-wrap: anywhere; } .item .end { margin-left: auto; display: flex; gap: 8px; align-items: center; flex: none; flex-wrap: wrap; justify-content: flex-end; }
.item .thumb { width: 64px; height: 64px; border-radius: 3px; object-fit: cover; background: var(--field-bg); flex: none; border: 1px solid var(--line); }
@media (max-width: 640px) { .item { flex-wrap: wrap; } .item .end { margin-left: 0; width: 100%; justify-content: flex-start; } .item.compact .end { width: auto; margin-left: auto; } }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; } .toolbar input, .toolbar select { width: auto; flex: 1; min-width: 150px; max-width: 280px; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; flex: none; } .seg button { background: transparent; border: 0; color: var(--ink-2); padding: 0 16px; min-height: 40px; font: 500 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; } .seg button + button { border-left: 1px solid var(--line-2); } .seg button.on { background: var(--gold); color: var(--btn-ink); }
.progress { height: 6px; background: var(--field-bg); border-radius: 6px; overflow: hidden; border: 1px solid var(--line); } .progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-dim), var(--gold-2)); }
.bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; align-items: end; height: 170px; padding-top: 8px; } .bar { display: grid; gap: 6px; justify-items: center; align-content: end; height: 100%; min-width: 0; grid-template-rows: 1fr auto; }
.bar .col { width: 100%; max-width: 44px; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; gap: 2px; } .bar .col i { display: block; border-radius: 2px 2px 0 0; min-height: 0; } .bar .col i.a { background: var(--gold); } .bar .col i.b { background: #6f8fae; } .bar span { font-size: 10.5px; color: var(--mute); white-space: nowrap; }
.legend { display: flex; gap: 16px; font-size: 13px; color: var(--ink-2); flex-wrap: wrap; } .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; }
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 28px; } .kv > div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; } .kv dt, .kv .k { color: var(--mute); } .kv .v { color: var(--ink); text-align: right; overflow-wrap: anywhere; }
.pipeline { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; scrollbar-width: none; } .pipeline::-webkit-scrollbar { display: none; }
.pipeline .chip { flex: none; } .pipeline .chip b { color: var(--gold); font-weight: 500; margin-left: 2px; }

/* ---------- media (listing photos) ---------- */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.media-tile { position: relative; aspect-ratio: 1; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; background: var(--field-bg); } .media-tile img, .media-tile video { width: 100%; height: 100%; object-fit: cover; }
.media-tile .rm { position: absolute; top: 4px; right: 4px; width: 30px; height: 30px; background: rgba(0, 0, 0, .7); border: 0; color: #fff; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.media-tile .cover { position: absolute; left: 4px; bottom: 4px; } .media-tile .mk { position: absolute; left: 4px; bottom: 4px; background: rgba(0, 0, 0, .7); border: 0; color: var(--gold-2); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 3px; cursor: pointer; }
.media-add { aspect-ratio: 1; border: 1px dashed var(--gold-dim); border-radius: var(--r); display: grid; place-items: center; text-align: center; color: var(--gold); cursor: pointer; font-size: 12.5px; gap: 4px; align-content: center; padding: 6px; }
.media-add input { display: none; }

/* ---------- public website ---------- */
.site-nav { position: sticky; top: 0; z-index: 80; background: var(--nav-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-nav .in { max-width: 1240px; margin: 0 auto; padding: 10px clamp(16px, 3vw, 32px); display: flex; align-items: center; gap: 14px; }
.site-nav .brand { padding: 0; cursor: pointer; } .site-nav .links { margin-left: auto; display: flex; align-items: center; gap: 6px; } .site-nav .links .nl { color: var(--ink-2); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; padding: 10px 12px; background: none; border: 0; cursor: pointer; font-family: var(--sans); } .site-nav .links .nl:hover, .site-nav .links .nl.on { color: var(--gold-2); }
@media (max-width: 760px) { .site-nav .links .nl.d { display: none; } .site-nav .brand b { font-size: 16px; } .site-nav .brand img { width: 38px; } }
.shell { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }
.hero { padding: clamp(46px, 9vw, 110px) 0 clamp(30px, 5vw, 56px); text-align: center; background: radial-gradient(1000px 520px at 50% -20%, rgba(201, 169, 106, .16), transparent 70%); border-bottom: 1px solid var(--line); }
.hero h1 { max-width: 15ch; margin: 14px auto 14px; } .hero h1 em { font-style: italic; color: var(--gold-2); } .hero p { color: var(--ink-2); max-width: 54ch; margin: 0 auto; font-size: 17px; }
.filters { margin: 28px auto 0; max-width: 980px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 6px; padding: 16px; display: grid; gap: 12px; grid-template-columns: 1.1fr 1.1fr 1.1fr 1fr 1fr auto; align-items: end; text-align: left; }
@media (max-width: 900px) { .filters { grid-template-columns: 1fr 1fr; } .filters .btn { grid-column: 1 / -1; } }
.section { padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(28px, 5vw, 56px); }
.cards { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.pcard { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; cursor: pointer; transition: border-color .2s, transform .2s; display: flex; flex-direction: column; position: relative; }
.pcard:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
.pcard .ph { aspect-ratio: 4 / 3; background: var(--ph-grad); position: relative; overflow: hidden; } .pcard .ph img { width: 100%; height: 100%; object-fit: cover; } .pcard .ph .noimg { position: absolute; inset: 0; display: grid; place-items: center; } .pcard .ph .noimg img { width: 84px; height: auto; opacity: .35; object-fit: contain; }
.pcard .tags { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; } .pcard .tags .badge { background: var(--glass); backdrop-filter: blur(4px); }
.pcard .fav { position: absolute; right: 10px; top: 10px; background: var(--glass); border-radius: 50%; color: var(--glass-ink); }
.pcard .bd { padding: 16px 18px 18px; display: grid; gap: 8px; } .pcard .price { font-family: var(--serif); font-size: 25px; color: var(--gold-2); line-height: 1.1; } .pcard .price small { font-family: var(--sans); font-size: 13px; color: var(--mute); }
.pcard .ttl { font-size: 16.5px; color: var(--ink); } .pcard .loc { font-size: 13.5px; color: var(--mute); display: flex; gap: 6px; align-items: center; }
.facts { display: flex; gap: 16px; flex-wrap: wrap; color: var(--ink-2); font-size: 14px; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 4px; } .facts span { display: inline-flex; gap: 6px; align-items: center; } .facts .ico { color: var(--gold); }
.gallery { display: grid; gap: 8px; } .gallery .main { aspect-ratio: 16 / 10; background: var(--field-bg); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; position: relative; padding: 0; } .gallery .main img, .gallery .main video { width: 100%; height: 100%; object-fit: cover; }
.gallery .nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(10, 10, 10, .7); color: #fff; border-radius: 50%; } .gallery .nav.l { left: 10px; } .gallery .nav.r { right: 10px; } .gallery .count { position: absolute; right: 12px; bottom: 12px; background: var(--glass); color: var(--glass-ink); padding: 4px 10px; border-radius: 20px; font-size: 12.5px; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; } .thumbs button { flex: none; width: 84px; height: 62px; padding: 0; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: var(--field-bg); cursor: pointer; opacity: .6; } .thumbs button.on { border-color: var(--gold); opacity: 1; } .thumbs img, .thumbs video { width: 100%; height: 100%; object-fit: cover; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; } .detail .aside { position: sticky; top: 84px; display: grid; gap: 14px; }
@media (max-width: 980px) { .detail { grid-template-columns: 1fr; } .detail .aside { position: static; } }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; } .slot { min-height: 44px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); border-radius: var(--r); cursor: pointer; font: 400 14.5px var(--sans); } .slot:hover:not(:disabled) { border-color: var(--gold); } .slot.on { background: var(--gold); border-color: var(--gold); color: var(--btn-ink); font-weight: 500; } .slot:disabled { color: var(--dim-ink); border-color: var(--line); text-decoration: line-through; cursor: not-allowed; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; } .day { flex: none; width: 62px; padding: 8px 0; border: 1px solid var(--line-2); background: transparent; border-radius: var(--r); color: var(--ink-2); cursor: pointer; display: grid; justify-items: center; font-family: var(--sans); } .day b { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ink); line-height: 1.1; } .day small { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; } .day.on { border-color: var(--gold); background: rgba(201, 169, 106, .12); } .day.on b { color: var(--gold-2); }
.footer { border-top: 1px solid var(--line); padding: 40px 0 calc(40px + var(--safe-b)); margin-top: 40px; color: var(--mute); font-size: 14px; } .footer .cols { display: flex; gap: 30px; justify-content: space-between; flex-wrap: wrap; align-items: flex-start; } .footer a { color: var(--ink-2); }
.wa { position: fixed; right: 18px; bottom: calc(18px + var(--safe-b)); z-index: 70; width: 54px; height: 54px; border-radius: 50%; background: var(--gold); color: var(--btn-ink); display: grid; place-items: center; box-shadow: var(--shadow); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; } .tabs button { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--mute); padding: 12px 14px; font: 500 12.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; white-space: nowrap; } .tabs button.on { color: var(--gold-2); border-bottom-color: var(--gold); }
.checkin { display: grid; gap: 14px; grid-template-columns: 1fr auto; align-items: center; } @media (max-width: 640px) { .checkin { grid-template-columns: 1fr; } .checkin .btn { width: 100%; } }
@media print { .side, .tabbar, .topbar, .site-nav, .wa { display: none !important; } body { background: #fff; color: #000; } }

.hours-row { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; max-width: 520px; }
@media (max-width: 520px) { .hours-row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); } .hours-row .check { grid-column: 1 / -1; min-height: 30px; } }

.side .brand b { white-space: normal; }
.badge { justify-self: start; }
.jump { display: none; } @media (max-width: 980px) { .jump { display: inline-flex; margin-top: 16px; } }

.auth-logo { width: 210px; margin: 0 auto 4px; } .footer-logo { width: 190px; }

/* ---------- theme toggle + richer search ---------- */
.theme-btn { color: var(--ink-2); }
.search-panel { margin: 28px auto 0; max-width: 1040px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px; padding: 16px; display: grid; gap: 12px; text-align: left; box-shadow: var(--shadow); }
.search-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.search-top .search-in { position: relative; } .search-top .search-in .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--gold); } .search-top input { padding-left: 40px; }
.search-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.search-more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.search-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .search-top { grid-template-columns: 1fr; } .search-top .seg { width: 100%; display: grid; grid-auto-flow: column; } .search-grid, .search-more { grid-template-columns: repeat(2, minmax(0, 1fr)); } .search-foot .btn { width: 100%; } }
.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; }
.type-tile { display: grid; justify-items: center; gap: 8px; padding: 14px 8px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--ink-2); cursor: pointer; font: 500 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.type-tile img { width: 64px; height: 48px; object-fit: contain; } .type-tile:hover { border-color: var(--gold-dim); } .type-tile.on { border-color: var(--gold); color: var(--gold-2); background: rgba(201, 169, 106, .1); }
.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.area-tile { position: relative; aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; cursor: pointer; background: var(--panel); padding: 0; text-align: left; }
.area-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; } .area-tile:hover img { transform: scale(1.04); } .area-tile:hover { border-color: var(--gold-dim); }
.area-tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); color: #f4eee2; font-family: var(--serif); font-size: 20px; } .area-tile .cap small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #e2c98f; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
@media (max-width: 480px) { .site-nav .in { gap: 8px; } .site-nav .brand b { font-size: 13px; letter-spacing: .06em; } .site-nav .brand small { display: none; } .site-nav .brand img { width: 32px; } .site-nav .links { gap: 0; } .site-nav .btn.sm { padding: 0 11px; } }
