:root {
  color-scheme: light;
  --page:#f8f7f4;
  --white:#fff;
  --ink:#151b20;
  --muted:#59636b;
  --line:#e4e2dc;
  --accent:#bd3d0a;
  --amber:#ff9558;
  --tint:#fff1e8;
  --radius:13px;
  font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*, *::before, *::after { box-sizing:border-box; }
body { margin:0; background:var(--page); color:var(--ink); }
a { color:inherit; text-decoration:none; }
button,input,select,textarea { font:inherit; }
button { cursor:pointer; }
button:disabled { opacity:.62; cursor:wait; }
img { max-width:100%; display:block; }
h1,h2,h3,p,dl,dd { margin:0; }
h1,h2,h3 { line-height:1.11; letter-spacing:-.045em; }
[hidden] { display:none !important; }
:focus-visible { outline:2px solid #ad3408; outline-offset:3px; }
.shell { width:min(1160px,calc(100% - 48px)); margin-inline:auto; }
.muted { color:var(--muted); }
.accent { color:var(--amber); }
.sr-only,.skip:not(:focus) { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.skip:focus { position:fixed; top:8px; left:8px; z-index:20; background:white; padding:10px; }
[data-icon] { display:inline-flex; flex:0 0 auto; }
[data-icon] svg { display:block; width:18px; height:18px; }

.site-header { background:#141c22; color:white; }
.header-inner { min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:14px; }
.brand { display:flex; align-items:center; gap:9px; color:white; line-height:1; }
.brand-icon { color:var(--amber); }
.brand-icon svg { width:39px; height:36px; }
.brand strong,.brand small { display:block; }
.brand strong { font-size:1.4rem; letter-spacing:.015em; font-weight:850; }
.brand small { color:var(--amber); letter-spacing:.19em; font-size:.54rem; margin-top:4px; }
.site-nav { display:flex; align-items:center; gap:20px; font-size:.89rem; }
.nav-main:hover { text-decoration:underline; }
.primary,.outline {
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:8px 13px;
  border-radius:8px;
  border:1px solid transparent;
  font-size:.88rem;
  font-weight:720;
  line-height:1.2;
}
.primary { background:var(--accent); color:white; }
.primary:hover { background:#a2350a; }
.outline { border-color:#cbd0d1; color:var(--ink); background:var(--white); }
.outline:hover { border-color:var(--accent); color:var(--accent); }
.site-nav .outline { background:transparent; color:#fff; border-color:#ffffff48; }
.site-nav .outline:hover { background:#ffffff12; }
.site-header :focus-visible { outline-color:var(--amber); }
.full { width:100%; }
.text-button { display:inline-flex; align-items:center; color:var(--accent); background:none; border:0; padding:7px 0; font-size:.89rem; font-weight:700; }
.text-button:hover { text-decoration:underline; }

.hero {
  color:white;
  background:linear-gradient(90deg,#131b24ee 0%,#131b24ce 38%,#1a1c1d1c 100%),#3b4044 url('/assets/terrace.webp') center 55%/cover;
}
.hero-inner { min-height:340px; display:flex; align-items:center; padding-block:24px 58px; }
.hero-copy { max-width:570px; }
.overline { color:var(--accent); font-weight:780; font-size:.78rem; text-transform:uppercase; letter-spacing:.15em; margin-bottom:8px; }
.hero .overline { color:#ffc6a5; }
.hero h1 { max-width:540px; font:400 clamp(2.65rem,5.5vw,4.28rem)/1.03 Georgia,serif; letter-spacing:-.05em; margin-bottom:11px; }
.hero p:not(.overline) { color:#f2eee8; max-width:430px; font-size:1.05rem; }
.catalog-filters { margin:-37px 0 0; position:relative; z-index:1; padding:14px; background:white; border:1px solid var(--line); border-radius:var(--radius); box-shadow:0 8px 24px #2226; display:grid; grid-template-columns:1.15fr 1fr 1fr auto; align-items:end; gap:11px; }
label { font-size:.87rem; font-weight:680; display:grid; gap:5px; min-width:0; }
input:not([type="checkbox"]),select,textarea { min-height:42px; width:100%; padding:8px 10px; border:1px solid #cfd3d4; border-radius:8px; background:#fff; color:var(--ink); }
textarea { resize:vertical; }
input::placeholder,textarea::placeholder { color:#686f73; }
.inventory { padding:32px 0 56px; scroll-margin-top:15px; }
.section-head { display:flex; align-items:center; justify-content:space-between; gap:8px 16px; flex-wrap:wrap; margin-bottom:15px; }
.section-head h2 { font-size:clamp(1.55rem,3vw,2.1rem); }
.section-head .muted { font-size:.92rem; margin-top:5px; }
.catalog-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.card { position:relative; min-width:0; }
.card a { display:flex; position:relative; height:100%; flex-direction:column; background:white; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:0 4px 12px #10182009; }
.card a:hover { border-color:#ca825f; }
.card a:focus-visible { outline-offset:-3px; }
.card-image { position:relative; overflow:hidden; aspect-ratio:1.65; background:#eae7e0; }
.card-image img { width:100%; height:100%; object-fit:cover; }
.image-placeholder { min-height:120px; display:grid; place-items:center; color:var(--muted); text-align:center; background:#eeede8; }
.card-content { display:grid; gap:6px; padding:15px; }
.card h3 { font-size:1.2rem; }
.card-price { font-size:1.29rem; font-weight:780; }
.card-price small { font-size:.74rem; color:var(--muted); font-weight:580; }
.location-line { display:flex; align-items:center; gap:5px; font-size:.89rem; }
.location-line svg { width:15px; height:15px; }
.card-top { display:flex; justify-content:space-between; align-items:center; gap:5px; }
.tag { display:inline-flex; width:fit-content; padding:3px 8px; border-radius:20px; font-size:.74rem; font-weight:700; line-height:1.5; color:#37424a; background:#edeeeb; }
.demo-tag { color:#77300f; background:var(--tint); }
.card-meta { border-top:1px solid var(--line); margin-top:5px; padding-top:8px; display:flex; flex-wrap:wrap; gap:6px 10px; color:var(--muted); font-size:.81rem; }
.site-footer { border-top:1px solid var(--line); padding:21px 0; color:var(--muted); font-size:.84rem; }
.site-footer .shell { display:flex; flex-wrap:wrap; gap:8px; justify-content:space-between; }
.site-footer a:hover { text-decoration:underline; }

.property-page { min-height:70vh; padding:28px 0 52px; }
.property-heading { display:flex; align-items:end; justify-content:space-between; gap:14px; margin-bottom:17px; flex-wrap:wrap; }
.property-heading h1 { font-size:clamp(2rem,4.2vw,3.25rem); margin:8px 0 6px; }
.property-heading .tag + .tag { margin-left:6px; }
.property-price { font-size:1.55rem; white-space:nowrap; }
.property-price small { font-size:.82rem; margin-left:6px; color:var(--muted); }
.property-columns { display:grid; grid-template-columns:minmax(0,1fr) minmax(320px,365px); gap:21px; align-items:start; }
.property-main { min-width:0; }
.gallery { border:1px solid var(--line); border-radius:var(--radius); padding:7px; background:white; }
.gallery-main { width:100%; aspect-ratio:1.75; object-fit:cover; border-radius:8px; }
.thumbnails { display:flex; gap:6px; padding:7px 2px 2px; overflow-x:auto; }
.thumbnails button { width:68px; height:47px; flex:0 0 auto; padding:2px; border:1px solid transparent; background:none; border-radius:7px; }
.thumbnails button[aria-pressed="true"] { border-color:var(--accent); }
.thumbnails img { width:100%; height:100%; object-fit:cover; border-radius:4px; }
.property-info { margin-top:19px; }
.property-info h2 { margin-bottom:12px; }
.facts { display:flex; flex-wrap:wrap; gap:7px; }
.fact { padding:8px 10px; border:1px solid var(--line); border-radius:8px; background:white; font-size:.87rem; }
.description { margin:13px 0; line-height:1.65; white-space:pre-wrap; }
.feature-list { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 14px; }
.assistant { border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:white; box-shadow:0 3px 20px #1118200a; }
.assistant-head { display:flex; align-items:center; gap:10px; background:#182129; color:#fff; padding:15px; }
.assistant-symbol { width:36px; height:36px; display:grid; place-items:center; border-radius:9px; background:#3d2c25; color:#ffa875; }
.assistant-head h2 { font-size:1.12rem; }
.assistant-head p { color:#e1d6cb; font-size:.77rem; margin-top:2px; }
.assistant-body { padding:13px; }
.chat-log { display:grid; align-content:start; gap:7px; overflow:auto; overscroll-behavior:contain; max-height:310px; min-height:88px; padding:2px 2px 5px; }
.bubble { width:fit-content; max-width:96%; padding:8px 10px; border-radius:10px; background:#f3f4f1; white-space:pre-wrap; overflow-wrap:anywhere; font-size:.89rem; }
.bubble.user { margin-left:auto; background:var(--tint); }
.chat-suggestions { display:flex; flex-wrap:wrap; gap:5px; margin:8px 0; }
.chip { border:1px solid var(--line); border-radius:17px; background:#fff; padding:5px 8px; color:var(--ink); font-size:.8rem; }
.chip:hover,.chip[aria-pressed="true"] { border-color:#c36f45; color:var(--accent); }
.chat-form { display:grid; grid-template-columns:minmax(0,1fr) 42px; gap:5px; }
.icon-button { padding:0; }
.contact-block { border-top:1px solid var(--line); margin-top:12px; padding-top:12px; }
.inquiry-form { display:grid; gap:9px; margin-top:12px; }
.inquiry-form h3 { font-size:1rem; }
.field-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.field-row.thirds { grid-template-columns:repeat(3,minmax(0,1fr)); }
.field-row.quarters { grid-template-columns:repeat(4,minmax(0,1fr)); }
.check { display:flex; align-items:flex-start; font-weight:520; gap:7px; }
.check input { margin-top:4px; flex:none; }
.form-note { font-size:.81rem; overflow-wrap:anywhere; }
.form-note:not(:empty) { margin-top:5px; }
.success { color:#22593e; border:1px solid #c3dfcd; border-radius:8px; padding:9px; background:#f0f7f1; font-size:.88rem; }
.website-field { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }

.admin-page { padding:26px 0 45px; }
.admin-heading { display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between; align-items:flex-end; }
.admin-heading h1 { font-size:clamp(1.9rem,4vw,2.7rem); }
.tabs { display:flex; gap:16px; margin:19px 0; border-bottom:1px solid var(--line); }
.tabs a { padding:8px 4px; border-bottom:2px solid transparent; color:var(--muted); font-weight:730; }
.tabs a[aria-current] { color:var(--accent); border-color:var(--accent); }
.publish-grid { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(240px,.7fr); gap:14px; align-items:start; }
.panel { background:white; border:1px solid var(--line); border-radius:var(--radius); padding:15px; }
.publish-form { display:grid; gap:12px; }
.publish-form h2,.inventory-admin h2 { font-size:1.4rem; margin-bottom:3px; }
#photo-help { font-size:.8rem; font-weight:500; }
.photo-preview { display:flex; flex-wrap:wrap; gap:6px; }
.photo-preview:empty { display:none; }
.photo-preview img { width:63px; height:45px; object-fit:cover; border-radius:5px; }
.form-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
#admin-inventory { display:grid; gap:6px; margin-top:8px; }
.admin-property { display:grid; gap:2px; padding:8px 0; border-top:1px solid var(--line); }
.admin-property:hover strong { text-decoration:underline; }
.admin-property small { color:var(--muted); }
.stage-filters { display:flex; flex-wrap:wrap; gap:5px; margin-bottom:10px; }
.lead-list { display:grid; gap:7px; margin-top:10px; }
.lead-row { display:grid; grid-template-columns:1fr 1fr auto; gap:8px; align-items:center; }
.lead-row strong,.lead-row small { display:block; }
.lead-row small { color:var(--muted); }
dialog { width:min(680px,calc(100% - 24px)); max-height:90dvh; color:var(--ink); background:white; padding:17px; border:1px solid var(--line); border-radius:var(--radius); }
dialog::backdrop { background:#111a20b0; }
.dialog-header { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; }
.lead-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; margin:10px 0; }
.lead-fact { border:1px solid var(--line); border-radius:8px; padding:7px; overflow-wrap:anywhere; }
.lead-fact dt { font-size:.77rem; color:var(--muted); }
.lead-fact dd { font-weight:650; }
.lead-details h3 { margin:14px 0 6px; font-size:1.07rem; }
.lead-details ul { padding-left:18px; }
.lead-details p { white-space:pre-wrap; overflow-wrap:anywhere; }
.lead-actions { margin:12px 0; }
.lead-actions .whatsapp-link { color:#155739; background:#f0f8f3; border-color:#a8cdb6; }
.lead-actions .whatsapp-link:hover { background:#e1f2e8; border-color:#26774d; }
.lead-appointment { display:grid; gap:9px; margin-bottom:14px; border:1px solid var(--line); border-radius:9px; padding:11px; }
.lead-appointment .form-note:empty { display:none; }
.broker-name { margin-bottom:12px; color:var(--muted); font-size:.89rem; }
.broker-name summary { cursor:pointer; width:fit-content; }
.broker-name form { margin-top:8px; align-items:end; }
#lead-form { display:grid; gap:8px; }
.history-row { padding:6px 0; border-bottom:1px solid var(--line); }
.history-row small { color:var(--muted); }

@media (max-width:900px) {
  .catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .property-columns { grid-template-columns:minmax(0,1fr) minmax(290px,.83fr); gap:12px; }
}
@media (max-width:680px) {
  .shell { width:calc(100% - 24px); }
  .header-inner { min-height:62px; }
  .site-nav { gap:8px; }
  .site-nav .nav-main { display:none; }
  .hero-inner { min-height:287px; padding-bottom:44px; }
  .hero p:not(.overline) { font-size:.94rem; max-width:330px; }
  .catalog-filters { margin-top:-25px; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:10px; }
  .inventory { padding-top:20px; }
  .property-columns,.publish-grid { grid-template-columns:minmax(0,1fr); }
  .property-heading { margin-bottom:12px; }
  .property-page { padding-top:17px; }
  .field-row.quarters { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .lead-row { grid-template-columns:1fr auto; }
  .lead-row .lead-property { grid-column:1; grid-row:2; }
  .lead-row button { grid-column:2; grid-row:1 / span 2; }
}
@media (max-width:470px) {
  .catalog-grid { grid-template-columns:minmax(0,1fr); gap:9px; }
  .field-row.thirds { grid-template-columns:minmax(0,1fr); }
}

.property-actions { display:grid; justify-items:end; gap:6px; }
.preview-badge { display:inline-flex; background:var(--tint); color:#86350c; border-radius:5px; padding:4px 8px; font-size:.78rem; font-weight:720; }
.reservation-issuer { font-weight:730; margin-top:8px; }
.reservation-amount { display:block; font-size:1.38rem; }
.reservation-terms { display:grid; gap:5px; margin:10px 0; font-size:.9rem; }
.reservation-terms div { padding:5px 0; border-bottom:1px solid var(--line); }
.reservation-terms dt { font-weight:720; }
.reservation-terms dd { color:var(--muted); }
.reservation-form { display:grid; gap:7px; }
.reservation-form .primary { justify-self:start; }
.signature-label { display:flex; align-items:center; justify-content:space-between; gap:10px; }
#signature { display:block; width:100%; height:138px; touch-action:none; cursor:crosshair; border:1px dashed #a9a8a2; border-radius:8px; background:#fcfbf8; user-select:none; }
.overview-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; margin-bottom:13px; }
.overview-metric { padding:13px; }
.overview-metric h3 { font-size:.94rem; }
.overview-metric strong { display:block; font-size:1.7rem; letter-spacing:-.04em; }
.overview-metric small { color:var(--muted); font-size:.8rem; }
.overview-tables { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.overview-tables h3 { margin-bottom:8px; }
.stage-chart > div { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 7px; padding:4px 0; font-size:.89rem; }
.stage-chart dd { display:contents; }
.stage-chart progress { grid-column:1 / -1; width:100%; height:9px; accent-color:var(--accent); }
.reservation-previews { padding:0; margin:7px 0 0; list-style:none; }
.reservation-previews li { padding:6px 0; border-top:1px solid var(--line); overflow-wrap:anywhere; }
.reservation-previews small { display:block; color:var(--muted); }
@media(max-width:680px) {
  .property-actions { justify-items:start; }
  .overview-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .overview-tables { grid-template-columns:1fr; }
}

.tabs { flex-wrap:wrap; }
.lead-contact small { overflow-wrap:anywhere; }
.lead-contact a:hover { text-decoration:underline; }
.lead-row .chip, .demo-inline { color:#823c15; font-size:.76rem; }
.client-reservations { margin-top:18px; }
.reservation-previews .outline { margin-top:5px; min-height:30px; padding:4px 8px; }
.reservation-payment { border-top:1px solid var(--line); margin-top:12px; padding-top:11px; }
.reservation-payment .form-actions { margin-top:7px; }
.tabs { flex-wrap:wrap; }
.management-activity .event { display:grid; grid-template-columns:9px minmax(0,1fr) auto; gap:9px; align-items:start; padding:9px 0; }
.management-activity .event + .event { border-top:1px solid var(--line); }
.management-activity .event-dot { width:8px; height:8px; margin-top:8px; border-radius:50%; background:var(--event-color); }
.management-activity .event :is(a,small) { display:block; color:var(--muted); }
.management-activity .event time { font-size:.8rem; color:var(--muted); }
.assignment-form { margin:12px 0; }
.validation-actions { margin-top:9px; display:grid; gap:8px; max-width:520px; }
.validation-card { display:grid; gap:6px; }
.validation-card strong { overflow-wrap:anywhere; }
.validation-examples { margin-top:24px; }
