/* JoeyBlanco.com — site styles
   One family (Plus Jakarta Sans), one color per business, red only on real estate primary actions. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1a1a1a;
  --ink-2: #474c52;
  --ink-3: #676d74;
  --paper: #ffffff;
  --mist: #f3f5f7;
  --rule: #dde2e7;

  --re: #1b3a5c;        /* real estate navy */
  --re-deep: #10263d;
  --re-tint: #e9eef4;
  --mc: #2d6a4f;        /* Mulligan Closet green */
  --mc-tint: #e7f1ec;
  --olw: #c9561e;       /* OakCity Laser Works orange (fills) */
  --olw-text: #a5440f;  /* orange for text on white, 5:1 */
  --olw-tint: #fbeee6;
  --red: #b22234;       /* RWB red: real estate primary buttons only */
  --red-deep: #8f1b2a;

  --lane: var(--ink);   /* set per section */

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1140px;
  --gutter: 20px;
  --radius: 10px;
  --radius-sm: 6px;
  --focus: 0 0 0 3px #fff, 0 0 0 5px #2463eb;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }
strong { font-weight: 700; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.25rem, 5.2vw, 4rem); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.028em; }
h3 { font-size: 1.2rem; letter-spacing: -0.012em; font-weight: 750; line-height: 1.25; }
h4 { font-size: 1rem; letter-spacing: 0; font-weight: 700; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 66ch; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; line-height: 1.5; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--rule); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .95rem; letter-spacing: -0.02em; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 1.125rem; letter-spacing: -0.02em; }
.brand-broker { font-size: .75rem; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.primary-nav { margin-left: auto; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.primary-nav li { margin: 0; }
.primary-nav a { display: block; padding: 8px 10px; white-space: nowrap; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.primary-nav a:hover { background: var(--mist); color: var(--ink); }
.primary-nav a[aria-current="page"], .primary-nav a.is-section { color: var(--ink); background: var(--mist); }
.header-actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 1320px) { .header-phone { display: none; } }
.header-phone { font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--rule); border-radius: var(--radius-sm); height: 42px; padding: 0 12px; font: inherit; font-weight: 700; font-size: .9rem; color: var(--ink); cursor: pointer; align-items: center; gap: 8px; }
.menu-toggle svg { width: 18px; height: 18px; }

.sub-nav { border-top: 1px solid var(--rule); background: var(--re); }
.sub-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.sub-nav ul::-webkit-scrollbar { display: none; }
.sub-nav li { margin: 0; flex-shrink: 0; }
.sub-nav a { display: block; padding: 10px 12px; color: #dfe7f0; text-decoration: none; font-weight: 600; font-size: .875rem; white-space: nowrap; }
.sub-nav a:hover { color: #fff; }
.sub-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 #fff; }

@media (max-width: 1120px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 16px; margin: 0; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--mist); border-radius: 0; }
  .header-actions { display: none; }
  .brand { flex-shrink: 1; min-width: 0; }
  .brand-text { min-width: 0; }
  .menu-toggle { flex-shrink: 0; }
  .header-row { gap: 12px; }
  .brand-broker { font-size: .7rem; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 8px; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; text-align: center; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.on-dark .btn-outline { color: #fff; }
.on-dark .btn-outline:hover { background: #fff; color: var(--re-deep); border-color: #fff; }
.btn-mc { background: var(--mc); color: #fff; }
.btn-mc:hover { background: #22543e; }
.btn-olw { background: var(--olw); color: #fff; }
.btn-olw:hover { background: #a9461a; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--lane); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-mist { background: var(--mist); }
.section-navy { background: var(--re); color: #fff; }
.section-navy .lead, .section-navy .muted { color: #cdd8e4; }
.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }
.section-navy .section-head p { color: #cdd8e4; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: start; }
.split-even { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .split, .split-even { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Home hero ---------- */
.hero { padding: 80px 0 48px; }
.hero h1 { max-width: 16ch; margin-bottom: 24px; }
.hero .lead { margin-bottom: 0; }
.hero-name { font-weight: 700; color: var(--ink); }

/* Service record: years drawn to scale */
.record { margin-top: 56px; }
.record-title { font-size: 1rem; font-weight: 700; margin: 0 0 6px; letter-spacing: 0; }
.record-note { margin: 0 0 22px; color: var(--ink-3); font-size: .9rem; }
.record-track { position: relative; height: 206px; }
.record-axis { position: absolute; left: 0; right: 0; top: 71px; height: 2px; background: var(--rule); }
.record-span { position: absolute; top: 56px; height: 32px; left: var(--from); width: calc(var(--to) - var(--from)); border-radius: 4px; overflow: hidden; }
.record-span span { display: block; color: #fff; font-size: .85rem; font-weight: 600; line-height: 32px; padding: 0 14px; white-space: nowrap; }
.record-span.af { background: var(--ink); }
.record-span.dod { background: var(--ink-2); }
.record-span.faa { background: var(--ink-3); }
.record-span + .record-span { border-left: 2px solid #fff; }
.record-lane { position: absolute; top: 96px; height: 16px; left: var(--from); width: calc(var(--to) - var(--from)); }
.record-lane.re-part { background: var(--re-tint); border: 2px solid var(--re); border-right: 0; border-radius: 4px 0 0 4px; }
.record-lane.re-full { background: var(--re); border-radius: 0 4px 4px 0; }
.record-mark { position: absolute; left: var(--at); top: 0; width: max-content; max-width: 340px; }
.record-mark.end { transform: translateX(-100%); text-align: right; }
.record-mark .yr { font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; display: block; }
.record-mark .what { font-size: .875rem; color: var(--ink-2); display: block; line-height: 1.35; }
.record-mark.below { top: 148px; max-width: 380px; }
.record-tick { position: absolute; top: 118px; left: var(--at); transform: translateX(-50%); font-size: .78rem; color: var(--ink-3); }
.record-tick.first { transform: none; }
.record-years { display: none; }
.record-list { display: none; }
@media (max-width: 760px) {
  .record-track { display: none; }
  .record-list { display: block; list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--rule); }
  .record-list li { position: relative; padding: 0 0 18px 20px; margin: 0; }
  .record-list li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--dot, var(--ink)); border: 3px solid #fff; }
  .record-list .yr { font-weight: 800; display: block; }
  .record-list .what { color: var(--ink-2); font-size: .95rem; }
}

/* ---------- Business lanes ---------- */
.lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lane { --lane: var(--ink); position: relative; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 32px 28px 28px; display: flex; flex-direction: column; border-top: 6px solid var(--lane); }
.lane.re { --lane: var(--re); }
.lane.mc { --lane: var(--mc); }
.lane.olw { --lane: var(--olw); }
.lane h3 { font-size: 1.45rem; margin-bottom: 4px; letter-spacing: -0.02em; }
.lane .lane-kind { font-size: .95rem; font-weight: 600; color: var(--lane); margin-bottom: 16px; }
.lane.olw .lane-kind { color: var(--olw-text); }
.lane p { color: var(--ink-2); }
.lane ul { color: var(--ink-2); font-size: .95rem; }
.lane .lane-foot { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
@media (max-width: 960px) { .lanes { grid-template-columns: 1fr; } }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.value h3 { font-size: 1.25rem; }
.value p { color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 64px 0 56px; border-bottom: 1px solid var(--rule); }
.page-hero.re { background: var(--re); color: #fff; border-bottom: 0; }
.page-hero.re .lead { color: #d6e0ea; }
.page-hero.mc { border-top: 6px solid var(--mc); }
.page-hero.olw { border-top: 6px solid var(--olw); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); max-width: 20ch; margin-bottom: 18px; }
.page-hero .btn-row { margin-top: 28px; }
.crumbs { font-size: .875rem; margin-bottom: 18px; color: var(--ink-3); }
.page-hero.re .crumbs { color: #b9c8d8; }
.crumbs a { color: inherit; }

/* Real estate landing hero */
.re-hero { background: var(--re); color: #fff; padding: 72px 0 0; overflow: hidden; }
.re-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: end; }
.re-hero h1 { max-width: 15ch; margin-bottom: 22px; }
.re-hero .lead { color: #d6e0ea; }
.re-hero .btn-row { margin: 30px 0 22px; }
.re-hero-broker { font-size: .95rem; font-weight: 600; color: #d6e0ea; padding-bottom: 64px; margin: 0; }
.re-hero-broker strong { color: #fff; }
.portrait { position: relative; align-self: end; }
.portrait img { width: 100%; max-width: 420px; margin-left: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; background: var(--re-deep); }
.credential { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 18px 20px; position: absolute; left: 0; bottom: 28px; max-width: 290px; box-shadow: 0 10px 30px rgba(16, 38, 61, .28); }
.credential p { margin: 0; font-size: .9rem; line-height: 1.45; }
.credential .cred-name { font-weight: 800; font-size: 1.05rem; margin-bottom: 4px; }
@media (max-width: 900px) {
  .re-hero { padding-top: 48px; }
  .re-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .re-hero-broker { padding-bottom: 8px; }
  .portrait img { max-width: 100%; aspect-ratio: 4 / 3; object-position: 50% 22%; border-radius: var(--radius); }
  .credential { position: static; max-width: none; margin-top: -40px; margin-left: 16px; margin-right: 16px; position: relative; margin-bottom: 40px; }
}

.about-photo { width: 100%; max-width: 380px; justify-self: end; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--mist); }
@media (max-width: 900px) { .about-photo { justify-self: start; max-width: 320px; } }

/* ---------- Pathway cards ---------- */
.path { display: block; text-decoration: none; border: 1px solid var(--rule); border-radius: var(--radius); padding: 32px; background: #fff; transition: border-color .15s ease; }
.path:hover { border-color: var(--re); }
.path h3 { font-size: 1.6rem; color: var(--re); }
.path ul { color: var(--ink-2); margin-bottom: 18px; }
.path .text-link { --lane: var(--red); }

/* ---------- Steps (real sequences only) ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 0; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-top: 1px solid var(--rule); margin: 0; }
.steps > li:last-child { border-bottom: 1px solid var(--rule); }
.steps > li::before { content: counter(step); font-weight: 800; font-size: 1.5rem; color: var(--re); line-height: 1.1; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); }
.steps p + p { margin-top: .6em; }

/* ---------- Topic blocks ---------- */
.topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
.topic h3 { margin-bottom: 8px; }
.topic p { color: var(--ink-2); margin-bottom: .6em; }
@media (max-width: 900px) { .topics { grid-template-columns: 1fr; gap: 28px; } }

.callout { border-left: 4px solid var(--re); background: var(--re-tint); padding: 20px 24px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.callout p:last-child { margin-bottom: 0; }
.callout.mc { border-color: var(--mc); background: var(--mc-tint); }
.callout.olw { border-color: var(--olw); background: var(--olw-tint); }

.facts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.facts li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.facts .k { font-weight: 700; }
.facts .v { color: var(--ink-2); }
@media (max-width: 600px) { .facts li { grid-template-columns: 1fr; gap: 2px; } }

/* Myth list */
.myths { display: grid; gap: 18px; }
.myth { border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px 24px; background: #fff; }
.myth h3 { font-size: 1.1rem; margin-bottom: 6px; }
.myth p { margin: 0; color: var(--ink-2); }

/* Communities */
.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--rule); }
.place { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.place h3 { font-size: 1.15rem; margin-bottom: 4px; }
.place p { margin: 0; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 900px) { .places { grid-template-columns: 1fr; } }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.review { margin: 0; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--rule); }
.review blockquote { margin: 0 0 16px; font-size: 1.1rem; line-height: 1.55; }
.review figcaption { font-size: .9rem; color: var(--ink-3); }
.review figcaption strong { color: var(--ink); }
.stars { color: #b5862a; letter-spacing: 2px; font-size: 1rem; margin-bottom: 10px; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* Value banner */
.value-bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.inline-form { display: flex; gap: 10px; }
.inline-form input { flex: 1; min-width: 0; }
@media (max-width: 900px) { .value-bar { grid-template-columns: 1fr; gap: 20px; } .inline-form { flex-direction: column; } }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 32px; }
.section-navy .form-card { color: var(--ink); border: 0; }
.form-card h2, .form-card h3 { margin-bottom: 6px; }
.form-card > p { color: var(--ink-2); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; margin-top: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 24px 20px; } }
.field label, .field legend { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.field .opt { font-weight: 500; color: var(--ink-3); }
.field .hint { font-size: .85rem; color: var(--ink-3); margin: 6px 0 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="month"], input[type="date"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #c3cad2; border-radius: var(--radius-sm); min-height: 48px; padding: 10px 12px;
}
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23474c52' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--re); box-shadow: 0 0 0 3px rgba(27, 58, 92, .2); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--red); }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: .85rem; line-height: 1.5; color: var(--ink-2); }
.field label.consent { display: grid; font-weight: 400; font-size: .85rem; margin: 0; }
.more { border-top: 1px solid var(--rule); padding-top: 14px; }
.more summary { cursor: pointer; font-weight: 700; font-size: .95rem; color: var(--re); list-style-position: inside; }
.more summary::marker { color: var(--re); }
.more .form-grid { margin-top: 14px; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--re); }
.form-actions { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.form-legal { font-size: .8rem; color: var(--ink-3); margin: 0; max-width: 62ch; }
.form-status { font-size: .95rem; font-weight: 600; margin: 0; }
.form-status.is-error { color: var(--red); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
button[disabled] { opacity: .65; cursor: progress; }

/* ---------- Contact strip ---------- */
.contact-lines { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-lines li { margin-bottom: 12px; }
.contact-lines a { font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }
.contact-lines .label { display: block; font-size: .85rem; color: var(--ink-3); font-weight: 600; }
.section-navy .contact-lines .label { color: #b9c8d8; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfd3d8; padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h2 { font-size: 1rem; letter-spacing: 0; color: #fff; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-brand p { margin: 0 0 6px; }
.footer-brand .name { color: #fff; font-weight: 800; font-size: 1.2rem; }
.broker-block { margin-top: 44px; padding-top: 24px; border-top: 1px solid #3a3f45; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: start; }
.broker-ref { margin: 0 0 8px; color: #fff; font-size: 1rem; line-height: 1.45; }
.broker-ref .brokerage { font-size: 1.15rem; font-weight: 800; }
.broker-block p { margin: 0 0 8px; }
.eho { display: flex; gap: 10px; align-items: center; color: #fff; font-weight: 700; font-size: .85rem; }
.eho svg { width: 34px; height: 34px; flex-shrink: 0; }
.footer-bottom { margin-top: 24px; font-size: .82rem; color: #9aa0a7; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .broker-block { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile action bar on real estate pages */
.action-bar { display: none; }
@media (max-width: 760px) {
  .has-action-bar { padding-bottom: 72px; }
  .action-bar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--rule); box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
  .action-bar .btn { min-height: 46px; padding: 0 10px; }
}

/* Thank-you, 404 */
.center-page { padding: 112px 0; }
.center-page h1 { max-width: 18ch; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .action-bar, .site-footer .footer-grid { display: none; }
}
