:root {
  --opc-reality-ink: #0a0a0a;
  --opc-reality-paper: #f6f3ec;
  --opc-reality-muted: #6e6e73;
  --opc-reality-line: #ddd8cc;
  --opc-reality-gold: #b9830b;
  --opc-reality-white: #fff;
}

.opc-reality {
  color: var(--opc-reality-ink);
  background: var(--opc-reality-white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Arial, sans-serif;
  font-synthesis: none;
}

.opc-reality *, .opc-reality *::before, .opc-reality *::after { box-sizing: border-box; }
.opc-reality a { color: inherit; }
.opc-reality-wrap { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.opc-kicker { margin: 0 0 14px; color: var(--opc-reality-gold); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

.opc-reality-hero,
.opc-place-profile-hero,
.opc-property-hero {
  padding: clamp(72px, 10vw, 145px) 0 clamp(55px, 8vw, 105px);
  border-bottom: 1px solid var(--opc-reality-line);
  background: radial-gradient(circle at 74% 50%, rgba(185,131,11,.10), transparent 26%), var(--opc-reality-paper);
}

.opc-reality-hero h1,
.opc-place-profile-hero h1,
.opc-property-hero h1 {
  max-width: 1060px;
  margin: 0;
  font-size: clamp(52px, 8.7vw, 124px);
  line-height: .91;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.opc-reality-lead { max-width: 760px; margin: 34px 0 0; color: var(--opc-reality-muted); font-size: clamp(18px, 2.2vw, 27px); line-height: 1.45; }

.opc-reality-filter {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr) auto;
  align-items: end;
  gap: 10px;
  margin-top: 48px;
  padding: 10px;
  border: 1px solid var(--opc-reality-line);
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 22px 60px rgba(0,0,0,.08);
}

.opc-reality-filter label span { display: block; margin: 0 0 6px 12px; color: var(--opc-reality-muted); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.opc-reality-filter input, .opc-reality-filter select { width: 100%; min-height: 52px; padding: 0 14px; border: 0; border-radius: 14px; color: var(--opc-reality-ink); background: #f5f5f7; font: inherit; }
.opc-reality-filter button, .opc-reality-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 25px; border: 0; border-radius: 999px; color: #fff !important; background: var(--opc-reality-ink); font: inherit; font-weight: 750; text-decoration: none !important; cursor: pointer; }

.opc-reality-section { padding-block: clamp(70px, 9vw, 125px); border-bottom: 1px solid var(--opc-reality-line); }
.opc-section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.opc-section-head h2 { margin: 0; font-size: clamp(38px, 5.8vw, 76px); line-height: .95; letter-spacing: -.055em; }
.opc-section-head > a, .opc-section-head > span { flex: 0 0 auto; padding-bottom: 5px; color: #71500b; font-weight: 650; text-decoration: none; }

.opc-reality-map { position: relative; overflow: hidden; min-height: var(--opc-map-height, 620px); border: 1px solid var(--opc-reality-line); border-radius: 30px; background: var(--opc-reality-paper); }
.opc-map-canvas { position: absolute; inset: 0; min-height: var(--opc-map-height, 620px); }
.opc-map-status { position: absolute; z-index: 500; left: 16px; bottom: 16px; margin: 0; padding: 9px 13px; border: 1px solid rgba(0,0,0,.09); border-radius: 999px; color: var(--opc-reality-ink); background: rgba(255,255,255,.92); font-size: 12px; font-weight: 650; box-shadow: 0 8px 24px rgba(0,0,0,.11); }
.opc-reality-map .leaflet-control-attribution { font-size: 10px; }

.opc-sponsored-section { position: relative; }
.opc-sponsored-section::before { content: ""; position: absolute; inset: 0 50% 0 50%; width: 100vw; transform: translateX(-50%); z-index: 0; background: #0b0b0b; }
.opc-sponsored-section > * { position: relative; z-index: 1; }
.opc-sponsored-section .opc-section-head h2, .opc-sponsored-section .opc-section-head > span { color: #fff; }
.opc-sponsored-section .opc-kicker { color: #d8a83f; }

.opc-property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.opc-property-card { min-width: 0; border: 1px solid var(--opc-reality-line); border-radius: 24px; background: #fff; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.opc-property-card:hover { transform: translateY(-4px); box-shadow: 0 20px 55px rgba(0,0,0,.11); }
.opc-property-card > a { display: block; height: 100%; color: inherit; text-decoration: none; }
.opc-property-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--opc-reality-paper); }
.opc-property-image img { width: 100%; height: 100%; object-fit: cover; }
.opc-property-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: rgba(185,131,11,.18); font-family: Georgia, serif; font-size: 150px; }
.opc-paid-label { position: absolute; left: 13px; top: 13px; padding: 7px 10px; border-radius: 999px; color: #fff; background: rgba(0,0,0,.82); font-size: 9px; font-weight: 800; letter-spacing: .07em; }
.opc-property-body { display: flex; flex-direction: column; min-height: 245px; padding: 25px; }
.opc-property-meta { margin: 0 0 16px; color: var(--opc-reality-gold); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.opc-property-card h3 { margin: 0; font-size: clamp(24px, 2.4vw, 34px); line-height: 1; letter-spacing: -.04em; }
.opc-property-address { margin: 15px 0 0; color: var(--opc-reality-muted); }
.opc-property-price { margin-top: auto; padding-top: 30px; font-size: 21px; }
.opc-reality-empty { padding: 32px; border-radius: 20px; color: var(--opc-reality-muted); background: var(--opc-reality-paper); }
.opc-reality-pagination { margin-top: 48px; }
.opc-reality-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.opc-reality-pagination .page-numbers { min-width: 44px; padding: 11px 14px; border: 1px solid var(--opc-reality-line); border-radius: 999px; text-align: center; text-decoration: none; }
.opc-reality-pagination .current { color: #fff; background: #111; }

.opc-property-hero-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 24px; margin-top: 35px; }
.opc-property-hero-row strong { color: var(--opc-reality-gold); font-size: clamp(27px, 3.5vw, 48px); }
.opc-property-hero-row span { color: var(--opc-reality-muted); font-size: clamp(17px, 2vw, 23px); }
.opc-property-cover { width: min(1500px, 100%); margin-inline: auto; background: var(--opc-reality-paper); }
.opc-property-cover img { display: block; width: 100%; max-height: 800px; object-fit: cover; }
.opc-property-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(285px, .7fr); gap: clamp(55px, 9vw, 130px); padding-block: clamp(70px, 10vw, 140px); }
.opc-property-content, .opc-place-editor-content { font-size: clamp(18px, 2vw, 23px); line-height: 1.75; }
.opc-property-content > :first-child, .opc-place-editor-content > :first-child { margin-top: 0; }
.opc-property-facts { align-self: start; padding: 29px; border-radius: 24px; background: var(--opc-reality-paper); }
.opc-property-facts h2 { margin: 0 0 24px; font-size: 26px; }
.opc-property-facts dl { margin: 0 0 28px; }
.opc-property-facts dt { margin-top: 17px; color: var(--opc-reality-muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.opc-property-facts dd { margin: 4px 0 0; font-size: 18px; }
.opc-contact-note { color: var(--opc-reality-muted); font-size: 14px; line-height: 1.5; }

.opc-place-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 38px; }
.opc-place-actions > a:not(.opc-reality-button) { color: #72510b; font-weight: 700; text-decoration: none; }
.opc-place-partner { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 30px; margin-top: 60px; padding: 35px; border: 1px solid #d9a736; border-radius: 26px; background: #fffaf0; }
.opc-place-partner h2 { margin: 0; font-size: clamp(29px, 4vw, 51px); letter-spacing: -.045em; }
.opc-place-partner p:not(.opc-kicker) { max-width: 720px; margin: 12px 0 0; color: var(--opc-reality-muted); line-height: 1.55; }
.opc-place-partner img { width: 110px; height: 75px; object-fit: contain; }
.opc-place-partner > a { padding-bottom: 4px; color: #72510b; font-weight: 750; text-decoration: none; border-bottom: 1px solid currentColor; }
.opc-place-partner-empty { border-color: var(--opc-reality-line); background: var(--opc-reality-paper); }

.opc-place-link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.opc-place-link-grid a { display: flex; flex-direction: column; min-height: 150px; padding: 23px; border: 1px solid var(--opc-reality-line); border-radius: 20px; color: inherit; background: #fff; text-decoration: none; }
.opc-place-link-grid span { color: var(--opc-reality-gold); font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.opc-place-link-grid strong { margin-top: 28px; font-size: 23px; letter-spacing: -.025em; }
.opc-place-link-grid small { margin-top: 9px; color: var(--opc-reality-muted); }
.opc-place-link-grid a:hover { border-color: var(--opc-reality-gold); }
.opc-reality-comments { padding-block: 70px 110px; }

.opc-agent-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.opc-agent-card { padding-top:14px; border-top:2px solid var(--opc-reality-ink); }
.opc-agent-card > a { color:inherit; text-decoration:none; }
.opc-agent-photo { overflow:hidden; aspect-ratio:4/5; background:var(--opc-reality-paper); }
.opc-agent-photo img { width:100%; height:100%; object-fit:cover; }
.opc-agent-card h3 { margin:14px 0 5px; font-size:25px; letter-spacing:-.035em; }
.opc-agent-card p { margin:0; color:var(--opc-reality-muted); }
.opc-agent-position { margin-top:13px!important; color:var(--opc-reality-gold)!important; font-size:10px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }

@media (max-width: 980px) {
  .opc-reality-filter { grid-template-columns: 1fr 1fr; }
  .opc-reality-filter button { grid-column: 1 / -1; }
  .opc-property-grid, .opc-place-link-grid { grid-template-columns: 1fr 1fr; }
	.opc-agent-grid { grid-template-columns:1fr 1fr; }
  .opc-property-layout { grid-template-columns: 1fr; }
  .opc-place-partner { grid-template-columns: 1fr auto; }
  .opc-place-partner > a { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 620px) {
  .opc-reality-wrap { width: min(100% - 28px, 1240px); }
  .opc-reality-hero, .opc-place-profile-hero, .opc-property-hero { padding-top: 70px; }
  .opc-reality-filter, .opc-property-grid, .opc-place-link-grid { grid-template-columns: 1fr; }
	.opc-agent-grid { grid-template-columns:1fr; }
  .opc-reality-filter button { grid-column: auto; }
  .opc-section-head { align-items: flex-start; flex-direction: column; }
  .opc-reality-map, .opc-map-canvas { min-height: min(72vh, var(--opc-map-height, 520px)); }
  .opc-place-partner { grid-template-columns: 1fr; padding: 25px; }
  .opc-place-partner img { width: 100%; max-width: 180px; }
}

.opc-public-property-form { width:min(920px,100%); display:grid; grid-template-columns:1fr 1fr; gap:20px; margin:40px auto 80px; padding:34px; border:1px solid var(--opc-reality-line); border-radius:24px; background:#fff; box-shadow:0 20px 60px rgba(0,0,0,.07); }
.opc-public-property-form label { display:grid; gap:8px; font-size:12px; font-weight:750; }
.opc-public-property-form input,.opc-public-property-form select,.opc-public-property-form textarea { width:100%; padding:14px; border:1px solid #c7c7cc; border-radius:11px; background:white; color:var(--opc-reality-ink); font:inherit; }
.opc-public-property-form textarea { resize:vertical; }
.opc-public-property-form .opc-span-2 { grid-column:1/-1; }
.opc-public-property-form .opc-consent { display:flex; align-items:flex-start; grid-template-columns:auto 1fr; font-weight:500; line-height:1.45; }
.opc-public-property-form .opc-consent input { width:auto; margin-top:3px; }
.opc-public-property-form button { padding:14px 20px; border:0; border-radius:999px; background:var(--opc-reality-ink); color:white; font-weight:800; cursor:pointer; }
.opc-public-property-form div>p { color:var(--opc-reality-muted); font-size:12px; line-height:1.5; }
.opc-reality-form-message { width:min(920px,calc(100% - 28px)); margin:30px auto; padding:16px 18px; border-radius:12px; background:#eaf6ea; color:#205b2b; }
.opc-reality-form-message.is-error { background:#fff0f0; color:#961d1d; }
.opc-honeypot { position:absolute!important; left:-9999px!important; }
@media(max-width:620px){.opc-public-property-form{grid-template-columns:1fr;padding:22px}.opc-public-property-form label,.opc-public-property-form .opc-span-2{grid-column:1}}
