:root {
  --bg: #0c0b0a;
  --paper: #161311;
  --ink: #f7f1e6;
  --muted: #b7ab9e;
  --line: rgba(240, 195, 106, 0.24);
  --accent: #f0c36a;
  --accent-dark: #c8963e;
  --soft: rgba(240, 195, 106, 0.12);
  --gold: #f0c36a;
  --glow: 0 0 22px rgba(240, 195, 106, 0.28);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
  --radius: 22px;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(880px 420px at 8% -12%, rgba(240, 195, 106, 0.18), transparent 58%),
    radial-gradient(640px 360px at 100% 0%, rgba(255, 122, 64, 0.1), transparent 52%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; margin: 0; }
p { margin: 0; }

.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.live-bar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  min-height: 46px; padding: 8px 16px;
  background: #e11d2e; color: #fff; text-decoration: none; font-weight: 800;
}
.live-bar:hover { background: #c81022; }
.live-dot {
  width: 10px; height: 10px; border-radius: 50%; background: #fff; flex: none;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: livePulse 1.4s ease-out infinite;
}
.live-go { border: 1px solid rgba(255,255,255,.7); border-radius: 999px; padding: 3px 10px; font-size: 13px; }
body.is-live { --live-h: 46px; }
@keyframes livePulse {
  70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.site-header {
  position: sticky; top: var(--live-h, 0px); z-index: 20;
  background: rgba(12, 11, 10, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(240, 195, 106, 0.35);
  box-shadow: 0 10px 30px rgba(240, 195, 106, 0.08);
}
.shbdn-strip,
.shbdn-bar {
  align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  text-decoration: none; font-weight: 800;
}
.shbdn-strip {
  display: flex; min-height: 52px; padding: 8px 16px;
  background: #100e0c; color: #fff6df;
  border-top: 1px solid #f0c36a;
  box-shadow: 0 0 18px rgba(240, 195, 106, 0.45);
  animation: shbdnPulse 1.8s ease-in-out infinite;
}
.shbdn-strip strong,
.shbdn-bar strong {
  font-size: 16px; letter-spacing: 0.01em;
  text-shadow: 0 0 8px rgba(240, 195, 106, 0.95), 0 0 18px rgba(240, 195, 106, 0.55);
}
.shbdn-go {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 34px; padding: 6px 14px; border-radius: 999px;
  background: #f0c36a; color: #1a140c; font-size: 14px; font-weight: 800;
  box-shadow: 0 0 12px rgba(240, 195, 106, 0.9), inset 0 0 0 1px rgba(255, 246, 223, 0.7);
}
.shbdn-strip:hover .shbdn-go,
.shbdn-bar:hover .shbdn-go { background: #ffe1a0; }
.shbdn-bar { display: none; }
@keyframes shbdnPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(240, 195, 106, 0.35), 0 -8px 22px rgba(240, 195, 106, 0.18); }
  50% { box-shadow: 0 0 22px rgba(240, 195, 106, 0.95), 0 -14px 36px rgba(240, 195, 106, 0.45); }
}
@media (min-width: 761px) {
  .nav a[href*="sahibinden.com"] { display: none; }
}
.header-row { display: flex; align-items: center; gap: 18px; min-height: 82px; min-width: 0; }
.header-cta { flex: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -0.04em; }
.logo span span { color: var(--accent); }
.brand-logo { display: inline-flex; align-items: center; gap: 10px; background: #fffaf3; border-radius: 16px; padding: 4px 16px 4px 8px; box-shadow: 0 0 0 1px rgba(240, 195, 106, 0.45), var(--glow); }
.brand-logo img { height: 68px; width: auto; display: block; }
.brand-name { display: grid; line-height: 1; color: #1a140c; font-family: var(--serif); font-weight: 650; font-size: 20px; letter-spacing: -0.03em; }
.brand-name small { font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800; color: #8a6230; margin-top: 5px; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 6px 16px 6px 8px; }
.site-footer a.footer-logo { display: inline-flex; width: auto; margin: 0; color: #1a140c; }
.footer-logo img { height: 58px; width: auto; display: block; }
.agent-photo { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; object-position: center 18%; flex: none; background: #2a241c; }
.logo-mark svg { width: 18px; height: 18px; }
.nav { display: flex; gap: 16px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 650; font-size: 14.5px; padding-bottom: 4px; }
.nav a.is-active, .nav a:hover { color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); text-shadow: 0 0 12px rgba(240, 195, 106, 0.45); }
.nav-toggle { display: none; margin-left: auto; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 8px 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; border: 1px solid transparent; text-decoration: none;
  padding: 11px 16px; font-weight: 750; cursor: pointer; background: var(--paper); color: var(--ink);
}
.btn svg { width: 16px; height: 16px; }
.btn-accent {
  background: linear-gradient(180deg, #ffe7ad, #e2b25c);
  color: #1a140c;
  box-shadow: 0 0 0 1px rgba(255, 226, 160, 0.45), var(--glow);
}
.btn-accent:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); box-shadow: var(--glow); }
.btn-wa { background: transparent; border-color: #3dce7a; color: #b6ffd2; }
.btn-wa:hover { background: rgba(31, 138, 76, 0.18); }
.btn-share {
  background: rgba(240, 195, 106, 0.16);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 18px rgba(240, 195, 106, 0.35);
  font-size: 16px;
}
.btn-share svg { width: 18px; height: 18px; }
.btn-share:hover { background: rgba(240, 195, 106, 0.28); }
.btn-sm { padding: 9px 12px; font-size: 13.5px; width: 100%; }
.btn-block { width: 100%; }

.home-intro { padding: 28px 0 0; }
.home-intro h1 { font-size: 42px; text-shadow: 0 0 24px rgba(240, 195, 106, 0.2); }
.home-intro p { color: var(--muted); max-width: 760px; margin-top: 8px; }
.cats { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; padding: 22px 0 8px; }
.cat {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  min-height: 104px; text-decoration: none; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; font-weight: 750; font-size: 14px;
  box-shadow: var(--shadow);
}
.cat span {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--soft); color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(240, 195, 106, 0.35), var(--glow);
}
.cat svg { width: 18px; height: 18px; }
.cat { transition: border-color .2s, box-shadow .2s, transform .2s; }
.cat:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--glow); }

.commute-section, .block { padding: 28px 0; }
.section-head, .page-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 16px; }
.section-head h1, .page-head h1, .section-head h2 { font-size: 34px; text-shadow: 0 0 24px rgba(240, 195, 106, 0.2); }
.section-head p, .page-head p { color: var(--muted); margin-top: 4px; }
.section-tools { display: flex; gap: 8px; align-items: center; }
.section-tools a { color: var(--accent); font-weight: 800; text-decoration: none; margin-right: 6px; }
.section-tools button {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer;
}

.commute, .results-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; align-items: start; }
.search-card, .wizard, .calc, .price-panel, .inquiry, .setup-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
}
.search-kicker, .eyebrow, .field-label { display: flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 800; font-size: 13px; margin: 0 0 10px; }
.search-kicker svg, .field-label svg, .tool-card svg { width: 18px; height: 18px; flex: none; }
.search-card label, .wizard label, .calc label, .setup-card label, .inquiry label { display: grid; gap: 6px; font-size: 13px; font-weight: 750; margin-bottom: 12px; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); background: #100e0c; color: var(--ink); border-radius: 12px; padding: 11px 12px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(240, 195, 106, 0.45); border-color: var(--gold); box-shadow: var(--glow); }
input[type="range"] { padding: 0; accent-color: var(--accent); background: transparent; border: 0; }
.range-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin: -6px 0 12px; }
.switch { display: flex !important; align-items: center; justify-content: space-between; }
.switch input { width: auto; }
.mode-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px; }
.mode { position: relative; display: block; }
.mode span { display: block; text-align: center; border: 1px solid var(--line); border-radius: 999px; padding: 8px 4px; font-size: 13px; font-weight: 750; }
.mode input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mode input:checked + span { background: var(--soft); color: var(--accent); border-color: #f3c7c3; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.results-scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 32%);
  gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory;
}
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pager a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 800; }
.pager a.is-on { background: var(--gold); color: #1c1408; border-color: var(--gold); }
.results-scroller { align-items: stretch; }
.listing-card { height: 100%; background: #12100e; border: 1px solid rgba(240, 195, 106, 0.28); border-radius: 22px; overflow: hidden; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28); scroll-snap-align: start; display: flex; flex-direction: column; container-type: inline-size; transition: border-color .2s, box-shadow .2s, transform .2s; }
.listing-card:hover { border-color: var(--gold); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38), var(--glow); transform: translateY(-3px); }
.listing-media { position: relative; aspect-ratio: 16 / 11; background: #1c1814; overflow: hidden; flex: none; }
.listing-media::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 78px; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(8, 7, 6, 0.78), rgba(8, 7, 6, 0));
}
.listing-media a { position: absolute; inset: 0; display: block; }
.listing-media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.minute-badge, .fav {
  position: absolute; top: 10px; z-index: 2; border: 0; border-radius: 999px;
}
.minute-badge {
  left: 10px; padding: 6px 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.01em;
  color: #fff; background: #0c0b0a; border: 1px solid rgba(240, 195, 106, 0.75);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
}
.fav { right: 10px; width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer; color: #1a140c; background: rgba(255,255,255,.94); }
.share-fab {
  position: absolute; top: 50px; right: 10px; z-index: 2;
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 0; border-radius: 999px; background: rgba(255,255,255,.94);
  color: #1a140c; cursor: pointer; padding: 0;
}
.share-fab.is-on { color: #8a6230; }
.fav.is-on { color: var(--accent); }
.fav.is-on path { fill: currentColor; }
.listing-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.price { font-size: 20px; font-weight: 800; letter-spacing: -0.04em; color: var(--gold); text-shadow: 0 0 16px rgba(240, 195, 106, 0.28); }
.price small { font-size: 14px; font-weight: 700; color: var(--muted); }
.kind { color: var(--accent); font-size: 13px; font-weight: 800; }
.listing-title {
  text-decoration: none; font-weight: 750; line-height: 1.3; font-size: 14.5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.6em;
}
.byline { min-height: 1.3em; }
.meta, .where, .crumb { color: var(--muted); font-size: 13.5px; }
.meta, .where { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.where { display: block; }
.where svg { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; }
.card-actions { display: grid; grid-template-columns: 1.3fr .9fr; gap: 6px; margin-top: auto; padding-top: 6px; }
.listing-card .listing-body { padding: 16px 16px 14px; gap: 6px; }
.listing-card .price { font-size: clamp(16px, 8cqw, 28px); letter-spacing: -0.04em; white-space: nowrap; }
.listing-card .kind { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: rgba(240, 195, 106, 0.14); color: var(--gold); font-size: 12px; letter-spacing: 0.04em; }
.listing-card .listing-title { font-size: 16px; line-height: 1.35; }
.listing-card .card-actions { grid-template-columns: 1fr; gap: 8px; margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(240, 195, 106, 0.18); }
.listing-card .card-actions .btn-accent {
  border-radius: 16px; min-height: 52px; padding: 8px 10px;
  font-size: clamp(14px, 8.2cqw, 26px); font-weight: 800; letter-spacing: -0.03em; white-space: nowrap;
}
.listing-card .card-actions .btn-wa {
  border-radius: 16px; min-height: 44px; font-size: 16px; font-weight: 800;
}
.empty-card { background: var(--paper); border: 1px dashed var(--line); border-radius: 18px; padding: 28px; color: var(--muted); }

.tool-grid, .post-grid, .agent-grid, .calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tool-card, .post-card, .agent-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px; text-decoration: none; box-shadow: var(--shadow);
}
.tool-card { display: grid; gap: 6px; }
.tool-card span { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--accent); }
.tool-card svg { width: 18px; height: 18px; }
.tool-card em, .post-card span, .agent-card p { color: var(--muted); font-style: normal; font-size: 14px; }
.post-card { display: grid; gap: 8px; align-content: start; min-height: 180px; }
.post-card time { color: var(--accent); font-size: 13px; font-weight: 800; }
.agent-card { display: flex; gap: 12px; align-items: center; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: #2b2420; color: white; font-weight: 800; flex: none;
}
.avatar-lg { width: 72px; height: 72px; font-size: 22px; }
.agent-list { display: grid; gap: 12px; }
.agent-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px;
}
.agent-row h2 { font-size: 26px; }
.agent-row .card-actions { width: 230px; }

.page { padding: 28px 0 50px; }
.narrow { width: min(760px, calc(100% - 32px)); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .7fr); gap: 18px; }
.hero-photo { width: 100%; border-radius: 22px; height: 460px; object-fit: cover; background: #ddd; }
.hero-stage { position: relative; touch-action: pan-y; }
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(12, 11, 10, 0.78); color: #fff; font-size: 32px; line-height: 1;
  display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.hero-nav.prev { left: 12px; }
.hero-nav.next { right: 12px; }
.hero-nav:hover { background: rgba(12, 11, 10, 0.92); color: var(--gold); }
.hero-count {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; margin: 0;
  background: rgba(12, 11, 10, 0.78); color: #fff; border-radius: 999px;
  padding: 4px 10px; font-size: 13px; font-weight: 800;
}
.prose { margin-top: 16px; }
.prose h1, .article h1 { font-size: 40px; margin-bottom: 8px; }
.prose p, .article p { margin: 10px 0; }
.spec-list {
  display: grid; grid-template-columns: 1fr; gap: 0; padding: 0; margin: 14px 0 8px;
  list-style: none; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.spec-list li {
  display: grid; grid-template-columns: minmax(108px, 42%) minmax(0, 1fr); gap: 12px;
  align-items: start; background: transparent; border: 0; border-radius: 0;
  border-bottom: 1px solid rgba(240, 195, 106, 0.16); padding: 6px 12px;
}
.spec-list li:last-child { border-bottom: 0; }
.spec-list li:nth-child(odd) { background: rgba(240, 195, 106, 0.045); }
.spec-list span { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; margin: 0; }
.spec-list strong { display: block; font-size: 14px; font-weight: 700; line-height: 1.35; }
.spec-form-title { font-size: 22px; margin: 8px 0 4px; }
.spec-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 14px; }
.spec-form label { margin: 0; }
.detail-side { display: grid; gap: 12px; align-content: start; }
.side-select { margin-top: 8px; }
.map-link { display: inline-block; margin-top: 10px; color: var(--accent); font-weight: 800; }
.view-count { margin: 8px 0 0; color: var(--gold); font-weight: 800; }
.form-ok, .form-error, .flash { border-radius: 12px; padding: 10px 12px; margin: 10px 0; }
.form-ok, .flash { background: #e8f6ee; color: #14653a; }
.form-error { background: #3a221c; color: #ffb4a8; }
.calc output { display: block; margin-top: 8px; font-weight: 800; }
.posts-page { grid-template-columns: repeat(3, 1fr); }
.paste-box { background: #100e0c; border: 1px dashed var(--gold); border-radius: 16px; padding: 14px; margin-bottom: 16px; box-shadow: var(--glow); }
.paste-box textarea { min-height: 140px; }
.spec-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 13.5px; }
.spec-preview:empty { display: none; }
.spec-preview li { border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.story { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.story h1, .story h2 { font-size: 34px; }
.story h2 { font-size: 28px; margin: 26px 0 8px; }
.story-lead { font-size: 18px; max-width: 70ch; color: var(--ink); }
.advantage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 8px; }
.advantage { background: var(--bg); border-radius: 16px; padding: 14px 16px; }
.advantage strong { display: block; margin-bottom: 4px; }
.advantage span { color: var(--muted); font-size: 14px; }
.story-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.story-people { display: grid; gap: 10px; }
.story-person {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  background: var(--bg); border-radius: 16px; padding: 10px 14px; text-decoration: none;
}
.story-person img { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; object-position: center 18%; }
.story-person small, .story-phone { display: block; color: var(--muted); font-size: 13.5px; }
.story-phone { font-weight: 800; color: var(--ink); }
.story-steps { margin: 8px 0 0; padding-left: 18px; }
.story-steps li { margin: 8px 0; }
.story-close { color: var(--muted); max-width: 70ch; }

.site-footer { margin-top: 28px; padding: 36px 0 20px; background: #090807; color: #f6f1ea; border-top: 1px solid rgba(240, 195, 106, 0.55); box-shadow: inset 0 18px 40px rgba(240, 195, 106, 0.08); }
.license { color: var(--gold) !important; font-size: 13px; letter-spacing: 0.04em; font-weight: 700; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr; gap: 20px; }
.site-footer a { display: block; color: #d9d0c6; text-decoration: none; margin: 6px 0; }
.site-footer a.social { display: inline-block; color: var(--gold); font-weight: 700; margin-top: 10px; }
.ig-banner {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 16px; padding: 12px 14px 12px 12px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
}
.ig-mark {
  width: 46px; height: 46px; border-radius: 14px; flex: none;
  display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 30% 120%, #f9ce34, transparent 46%), linear-gradient(135deg, #f9ce34, #ee2a7b 55%, #6228d7);
}
.ig-mark svg { width: 22px; height: 22px; }
.ig-copy { display: grid; line-height: 1.2; }
.ig-copy strong { font-size: 15px; }
.ig-copy small { color: var(--muted); font-weight: 650; }
.ig-go {
  margin-left: auto; background: #171512; color: #f8f3ea;
  border-radius: 999px; padding: 9px 14px; font-weight: 750; font-size: 13.5px; white-space: nowrap;
}
.ig-banner:hover .ig-go { background: #3a3228; }
.site-footer a.partner {
  display: grid;
  margin: 0;
  color: #16130f;
}
.site-footer .partner-go { display: inline-flex; align-items: center; justify-content: center; margin: 0; color: #fff; }
.site-footer .logo { color: white; }
.site-footer p { color: #b7aea4; margin-top: 10px; max-width: 360px; }
.footer-base { margin-top: 22px; color: #8f877e; font-size: 13px; }

.table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 22px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; color: var(--muted); }
td small { display: block; color: var(--muted); }
.linkish { border: 0; background: none; color: var(--accent); cursor: pointer; padding: 0; font-weight: 800; }
.setup-screen { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.setup-card { width: min(440px, 100%); }
.setup-card h1 { font-size: 34px; margin-bottom: 8px; }

.byline { color: var(--muted); font-size: 13px; font-weight: 700; }
.eyebrow { letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; }

.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.team-card {
  display: grid; grid-template-columns: 168px 1fr; gap: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow);
}
.team-photo { position: relative; display: block; }
.team-card img { width: 168px; height: 210px; object-fit: cover; object-position: center 16%; background: #2a241c; }
.live-pill {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  background: #e11d2e; color: #fff; border-radius: 999px; padding: 4px 8px;
  font-size: 11px; font-weight: 800; letter-spacing: .08em;
}
.consultant-photo-wrap { position: relative; }
.live-chip, .live-inline {
  display: inline-flex; align-items: center; width: fit-content;
  background: #e11d2e; color: #fff; text-decoration: none; font-weight: 800;
  border-radius: 999px; padding: 6px 10px; font-size: 13px;
}
.consultant h2 a { color: #fff; text-decoration: none; }
.is-live-card { outline: 2px solid #e11d2e; }
.live-admin-on { background: #e8f6ee; color: #14653a; border-radius: 12px; padding: 10px 12px; }
.team-card > div { padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 4px; }
.team-name { font-family: var(--serif); font-size: 26px; text-decoration: none; letter-spacing: -0.03em; }
.team-card .card-actions { width: 100%; }

.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.office-block { display: grid; gap: 14px; align-content: start; }
.office-grid .consultant { grid-template-columns: 200px minmax(0, 1fr); align-items: stretch; }
.office-grid .consultant-photo-wrap { width: 200px; height: 200px; min-height: 200px; max-height: 200px; }
.office-grid .consultant-photo {
  width: 200px; height: 200px; min-height: 0; max-width: 200px;
  object-fit: cover; object-position: center center;
}
.office-grid .consultant { border-radius: 18px; }
.office-grid .consultant-body { padding: 14px 16px; gap: 6px; }
.office-grid .consultant h2 { font-size: 24px; }
.office-grid .consultant p { font-size: 14.5px; }
.office-grid .consultant .card-actions { width: 100%; margin-top: 4px; }
.office-grid .consultant .btn { padding: 8px 12px; font-size: 13.5px; }
.office-grid .office-listings { grid-template-columns: 1fr; }
.office-listings .listing-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); }
.office-listings .listing-media { aspect-ratio: auto; height: 100%; min-height: 124px; }
.office-listings .listing-body { padding: 8px 10px; }
.office-listings .price { font-size: 15px; }
.office-listings .listing-title { font-size: 13.5px; min-height: 0; }
.office-listings .btn-sm { padding: 6px 6px; font-size: 12px; }
.consultant {
  display: grid; grid-template-columns: 280px 1fr;
  background: #14120f; color: #f7f1e6; border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(240, 195, 106, 0.4); box-shadow: var(--glow);
}
.consultant-photo-wrap { background: #0e0c0a; min-height: 280px; }
.consultant-photo { width: 100%; height: 100%; min-height: 280px; object-fit: cover; object-position: center 18%; }
.consultant-body { padding: 28px 32px; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.consultant h2 { color: #fff; font-size: 36px; }
.consultant p { color: #ddd4c8; max-width: 62ch; }
.consultant .kind { color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; }
.consultant .meta { color: #b7ad9f; }
.consultant .card-actions { width: min(460px, 100%); margin-top: 8px; }
.consultant .btn-accent { background: var(--gold); color: #1a140c; }
.consultant .btn-accent:hover { background: #d7b56e; }
.consultant .btn-wa { background: transparent; color: #e7fff2; border-color: #3d9a68; }
.office-listings .empty-card { grid-column: 1 / -1; }
.place-line { margin: 4px 0 10px; font-weight: 800; color: var(--gold); }
.place-map { margin: 8px 0 14px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.place-map iframe { width: 100%; height: 280px; border: 0; display: block; }
.detail-tabbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 12px; }
.detail-tabbar button {
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  border-radius: 12px; padding: 8px 14px; font-weight: 800; cursor: pointer;
}
.detail-tabbar button.is-on {
  background: linear-gradient(180deg, #ffe7ad, #e2b25c); color: #1a140c; border-color: transparent;
}
.detail-about { font-size: 26px; margin: 18px 0 4px; }
.contact-form { max-width: 640px; }
.note-pick { border: 0; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.note-pick legend { grid-column: 1 / -1; font-weight: 800; margin-bottom: 8px; }
.note-person {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: center;
  background: #100e0c; border: 1px solid var(--line); border-radius: 16px; padding: 8px; cursor: pointer;
}
.note-person input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.note-person img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.note-person small { display: block; color: var(--muted); }
.note-person:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold), var(--glow); }
.login-card { text-align: left; }
.login-logo { height: 84px; width: auto; margin: 0 auto 8px; background: #fffaf3; border-radius: 16px; padding: 6px 10px; box-shadow: var(--glow); }
.login-body { background: radial-gradient(circle at top, #2a241c, #100e0c 55%); }
.partner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "kicker kicker kicker" "mark copy go";
  gap: 6px 16px;
  align-items: center;
  text-decoration: none;
  background: linear-gradient(180deg, #fffcf8 0%, #f3fbf9 100%);
  border: 1px solid #d5ebe6;
  border-radius: 22px;
  padding: 16px 18px 18px;
  box-shadow: var(--shadow);
  color: var(--ink);
}
.partner-kicker {
  grid-area: kicker;
  color: #0f766e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.partner-mark {
  grid-area: mark;
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #f0fdfa, #ccfbf1);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: #0f766e;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
}
.partner-copy { grid-area: copy; display: grid; gap: 2px; min-width: 0; }
.partner-copy strong {
  font-size: 28px; letter-spacing: -0.05em; font-weight: 750; text-transform: lowercase; line-height: 1;
}
.partner-copy em { color: #6b8a87; font-style: normal; font-weight: 700; font-size: 13px; }
.partner-copy span { color: #5f7370; font-size: 14px; }
.partner-go {
  grid-area: go;
  justify-self: end;
  border-radius: 999px;
  background: #0f766e;
  color: white;
  font-weight: 800;
  padding: 10px 16px;
  white-space: nowrap;
}
.partner:hover .partner-go { background: #115e59; }
.partner-card {
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "kicker kicker" "mark copy" "go go";
}
.partner-footer-wrap { margin-top: 22px; }
.contact-partner { margin: 28px 0; }
.page .partner-band { margin-bottom: 18px; }
[hidden] { display: none !important; }
.listing-wizard { width: min(820px, 100%); margin: 0 auto; }
.listing-wizard h2 { font-size: 28px; margin-bottom: 4px; }
.step-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.step-bar span { text-align: center; font-size: 12px; font-weight: 800; color: var(--muted); padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.listing-wizard[data-edit="1"] .step-bar span { cursor: pointer; }
.row-actions { white-space: nowrap; }
.row-actions a { font-weight: 800; color: var(--accent); text-decoration: none; margin-right: 12px; }
.row-actions form { display: inline; }
.step-bar span.is-on { color: var(--ink); border-color: var(--gold); }
.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
.pick-agent {
  position: relative; display: grid; gap: 6px; justify-items: center; text-align: center;
  border: 1px solid var(--line); border-radius: 18px; padding: 12px; cursor: pointer; background: #100e0c; color: var(--ink); margin: 0;
}
.pick-agent input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pick-agent img { width: 100%; height: 190px; object-fit: cover; object-position: center 40%; border-radius: 14px; }
.pick-grid .pick-agent:first-child img { object-position: center 62%; }
.pick-grid .pick-agent:last-child img { object-position: center 18%; }
.pick-agent.is-on, .pick-agent:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold), var(--glow); }
.file-drop {
  position: relative; display: grid; place-items: center; gap: 4px; min-height: 148px;
  text-align: center; cursor: pointer; border: 1px dashed var(--gold); border-radius: 18px;
  background: #100e0c; box-shadow: var(--glow); padding: 18px;
}
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop strong { font-size: 18px; }
.file-drop span { color: var(--muted); font-size: 13px; }
.file-drop.is-over { background: rgba(240, 195, 106, 0.12); }
.visit-popup { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 18px; }
.visit-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.72); }
.visit-card {
  position: relative; width: min(640px, 100%); max-height: calc(100vh - 36px); overflow: auto;
  background: #14120f; color: var(--ink); border: 1px solid rgba(240, 195, 106, 0.55);
  border-radius: 22px; padding: 22px 22px 18px; box-shadow: var(--glow);
}
.visit-card h2 { font-size: 30px; margin: 4px 0 8px; }
.visit-card > p { color: var(--muted); }
.visit-x {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-size: 22px;
}
.visit-people { display: grid; gap: 10px; margin: 16px 0; }
.visit-person {
  display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  background: #100e0c; border: 1px solid var(--line); border-radius: 16px; padding: 10px;
}
.visit-person img { width: 84px; height: 84px; object-fit: cover; border-radius: 14px; }
.visit-person .kind { color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; font-weight: 800; }
.visit-person strong { display: block; font-size: 18px; }
.visit-phone { color: var(--gold); font-weight: 800; text-decoration: none; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 8px; }
body.popup-open { overflow: hidden; }
.shot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0; }
.shot { position: relative; margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #1c1814; }
.shot.is-cover { border-color: var(--gold); box-shadow: var(--glow); }
.shot img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.shot video { width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; background: #000; display: block; }
.video-list { display: grid; gap: 12px; margin-top: 12px; }
.video-list video { width: 100%; max-height: 460px; border-radius: 16px; background: #000; }
.video-badge {
  position: absolute; left: 10px; bottom: 10px; z-index: 1;
  background: rgba(12, 11, 10, 0.82); color: #fff; border-radius: 999px;
  padding: 4px 8px; font-size: 12px; font-weight: 800;
}
.shot-cover {
  position: absolute; left: 8px; top: 8px; background: #171512; color: var(--gold);
  border: 1px solid var(--gold); border-radius: 999px; padding: 3px 8px; font-size: 11px; font-weight: 800;
}
.shot-tools { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; }
.shot-tools button {
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  border-radius: 999px; padding: 4px 8px; font-size: 12px; cursor: pointer;
}
.wizard-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.wizard-nav .btn { width: auto; }
.gallery-row { display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; }
.gallery-row button { border: 0; padding: 0; background: none; cursor: pointer; flex: none; border-radius: 10px; }
.gallery-row img { width: 92px; height: 68px; object-fit: cover; border-radius: 10px; }
.gallery-row button.is-on img { outline: 2px solid var(--gold); outline-offset: 2px; }
.side-agent { text-decoration: none; }
.side-agent .agent-photo { width: 64px; height: 64px; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; z-index: 30;
    background: #161311; border: 1px solid var(--line); border-radius: 16px; padding: 12px;
    flex-direction: column; box-shadow: var(--shadow); margin: 0;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 8px 4px; }
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .commute, .results-layout, .detail-grid, .footer-grid, .agent-row, .consultant, .team-grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 148px minmax(0, 1fr); }
  .team-card img { width: 148px; height: 188px; }
  .consultant-photo, .consultant-photo-wrap { min-height: 240px; height: 240px; }
  .consultant-body { padding: 22px 18px; }
  .tool-grid, .post-grid, .agent-grid, .calc-grid, .posts-page, .advantage-grid { grid-template-columns: 1fr 1fr; }
  .results-scroller { grid-auto-columns: minmax(240px, 78%); }
  .hero-photo { height: 280px; }
  .agent-row .card-actions { width: auto; }
}
@media (max-width: 760px) {
  .partner, .partner-card, .site-footer a.partner {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "kicker kicker" "mark copy" "go go";
  }
  .office-listings .listing-card { grid-template-columns: 108px minmax(0, 1fr); }
  .office-grid .consultant { grid-template-columns: 1fr; justify-items: center; }
  .office-grid .consultant-body { width: 100%; }
  .note-pick, .visit-person { grid-template-columns: 72px minmax(0, 1fr); }
  .note-pick { grid-template-columns: 1fr; }
  .visit-person .btn { grid-column: 1 / -1; }
  .partner-go, .site-footer .partner-go { justify-self: stretch; text-align: center; }
  .card-actions, .split { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .container { width: min(1180px, calc(100% - 24px)); }
  .brand-logo img { height: 48px; }
  .brand-name { font-size: 16px; }
  .footer-logo img { height: 46px; }
  .header-row { min-height: 64px; gap: 10px; }
  .header-cta { padding: 8px 12px; font-size: 14px; }
  .nav { top: calc(100% + 8px); }
  .cats { grid-template-columns: 1fr 1fr; }
  .spec-form { grid-template-columns: 1fr; }
  .post-grid, .calc-grid, .agent-grid, .tool-grid, .posts-page, .advantage-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .spec-preview { grid-template-columns: 1fr; }
  .story-person { grid-template-columns: 56px minmax(0, 1fr); }
  .story-phone { grid-column: 2; }
  .pick-grid, .shot-grid { grid-template-columns: 1fr 1fr; }
  .pick-agent img { height: 150px; }
  .team-card { grid-template-columns: 1fr; }
  .team-card img { width: 100%; height: 220px; }
  .home-intro h1, .section-head h1, .page-head h1, .prose h1, .article h1, .consultant h2 { font-size: 30px; }
  .team-name { font-size: 26px; }
  .section-head, .page-head { align-items: start; flex-direction: column; }
  .consultant .card-actions { width: 100%; }
  .footer-logo img { height: 48px; }
  .mode-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { overflow-x: clip; }
  .header-row { gap: 8px; min-height: 60px; }
  .brand-logo { padding: 3px 10px 3px 4px; border-radius: 12px; min-width: 0; }
  .brand-logo img, .footer-logo img { height: 42px; }
  .brand-name { font-size: 15px; }
  .brand-name small { font-size: 9px; letter-spacing: 0.08em; }
  .header-cta, .nav-toggle { padding: 8px 12px; font-size: 14px; min-height: 40px; }
  .prose h1, .article h1 { font-size: 26px; line-height: 1.25; overflow-wrap: anywhere; }
  .prose .where { white-space: normal; }
  .hero-photo { height: 230px; border-radius: 16px; }
  .hero-nav { width: 40px; height: 40px; font-size: 28px; }
  .hero-nav.prev { left: 8px; }
  .hero-nav.next { right: 8px; }
  .detail-tabbar button { flex: 1 1 42%; min-height: 44px; }
  .spec-list li { gap: 8px; padding: 8px 10px; }
  .price { font-size: 26px; }
  .search-card, .wizard, .price-panel, .inquiry, .setup-card { padding: 14px; }
  .results-scroller { grid-auto-columns: minmax(220px, 84%); }
  .card-grid .listing-body { padding: 10px; }
  .card-grid .listing-card .price { font-size: 18px; }
  .card-grid .listing-title { font-size: 13.5px; }
  .card-grid .listing-card .card-actions .btn-accent { font-size: 15px; min-height: 46px; padding: 6px 8px; }
  .card-grid .listing-card .card-actions .btn-wa { min-height: 40px; font-size: 14px; }
  .gallery-row img { width: 72px; height: 54px; }
  .office-listings .listing-card { grid-template-columns: 1fr; }
  .ig-banner { flex-wrap: wrap; }
  .ig-go { margin-left: 0; }
  .visit-card { width: min(640px, calc(100% - 8px)); padding: 16px 14px 14px; }
  .visit-card h2 { font-size: 24px; }
  .visit-actions .btn { flex: 1; }
  .step-bar span { font-size: 11px; }
  .file-drop { min-height: 112px; }
  .shot-tools button { min-height: 32px; }
  input, select, textarea { font-size: 16px; }
  .mode-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-side .reach {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    margin: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(12, 11, 10, 0.96);
    border-top: 1px solid rgba(240, 195, 106, 0.45);
    grid-template-columns: 1.2fr .8fr;
    backdrop-filter: blur(12px);
  }
  body:has(.detail-side .reach) { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  body:has(.inquiry :focus) .detail-side .reach { position: static; padding: 0; background: transparent; border: 0; }
  .shbdn-strip { display: none; }
  .shbdn-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    min-height: 68px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #100e0c; color: #fff6df;
    border-top: 1px solid #f0c36a;
    animation: shbdnPulse 1.8s ease-in-out infinite;
  }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .detail-side .reach { bottom: calc(72px + env(safe-area-inset-bottom)); }
  body:has(.detail-side .reach) { padding-bottom: calc(148px + env(safe-area-inset-bottom)); }
  body:has(.inquiry :focus) .shbdn-bar { display: none; }
  body:has(.inquiry :focus) { padding-bottom: 0; }
}
@media (max-width: 420px) {
  .container { width: min(1180px, calc(100% - 20px)); }
  .brand-logo, .footer-logo { padding: 3px 8px 3px 4px; }
  .cats { gap: 8px; }
  .cat { min-height: 88px; font-size: 13px; padding: 8px; text-align: center; }
  .section-head h1, .page-head h1, .prose h1, .article h1, .consultant h2 { font-size: 24px; }
  .team-name { font-size: 22px; }
  .pick-grid { grid-template-columns: 1fr 1fr; }
  .spec-list li { grid-template-columns: minmax(96px, 42%) minmax(0, 1fr); }
}
@media (max-width: 360px) {
  .brand-name { display: none; }
  .brand-logo, .footer-logo { padding: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
