/* ============================================
   Jake Stumpf Real Estate — Design System
   ============================================ */

:root {
  --navy-900: #0a1a2e;
  --navy-800: #0f2540;
  --navy-700: #163a5f;
  --navy-600: #1e4d7b;
  --gold-500: #b8935a;
  --gold-400: #c9a874;
  --gold-100: #f4ead9;
  --white: #ffffff;
  --gray-50: #f7f8fa;
  --gray-100: #eef1f5;
  --gray-200: #e2e6ec;
  --gray-400: #9aa5b1;
  --gray-600: #5b6675;
  --gray-800: #2b3440;
  --text: #1c2733;

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(10, 26, 46, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 26, 46, 0.10);
  --shadow-lg: 0 20px 48px rgba(10, 26, 46, 0.16);

  --header-h: 80px;
  --container: 1160px;
}

* , *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--gray-600); }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.9em;
}

.section { padding: 88px 0; scroll-margin-top: var(--header-h); }
.section--tight { padding: 48px 0; }
.section--navy { background: var(--navy-800); color: var(--white); }
.section--navy p { color: var(--gray-200); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--gray { background: var(--gray-50); }

.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }
.btn-primary:hover { background: var(--gold-400); border-color: var(--gold-400); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.8); transform: translateY(-1px); }
.btn-navy { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.btn-navy:hover { background: var(--navy-700); border-color: var(--navy-700); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn-sm { padding: 11px 20px; font-size: 0.74rem; }

/* Pill filter-style buttons (inspired by portfolio filters) */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  background: var(--white);
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.pill:hover { border-color: var(--gold-500); color: var(--navy-900); transform: translateY(-1px); }
.pill.is-active { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter .35s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: 0 1px 0 rgba(10,26,46,0.06);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 16px;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--white);
  transition: color .35s ease;
}
.is-scrolled .brand { color: var(--navy-900); }
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--gold-500);
  color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.95rem;
  font-family: var(--font-sans);
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text small {
  font-family: var(--font-sans);
  font-weight: 500; color: var(--gray-400); font-size: 0.64rem;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.is-scrolled .brand-text small { color: var(--gray-600); }

.nav-links {
  display: none;
  align-items: center;
  gap: 30px;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  transition: color .35s ease;
}
.is-scrolled .nav-links { color: var(--gray-600); }
.nav-links a { padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease; }
.nav-links a:hover, .nav-links a.is-active { border-color: var(--gold-500); color: var(--gold-500); }
.is-scrolled .nav-links a:hover, .is-scrolled .nav-links a.is-active { color: var(--navy-900); }

.nav-cta { display: none; align-items: center; gap: 12px; }
.nav-phone {
  font-weight: 700; font-size: 0.86rem; color: var(--white); transition: color .35s ease;
}
.is-scrolled .nav-phone { color: var(--navy-800); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  color: var(--white);
  transition: color .35s ease, border-color .35s ease;
}
.is-scrolled .nav-toggle { border-color: var(--gray-200); color: var(--navy-900); }
.nav-toggle svg { width: 20px; height: 20px; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0 18px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-radius: 0 0 12px 12px;
  box-shadow: var(--shadow-md);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  padding: 13px 20px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-800);
  border-bottom: 1px solid var(--gray-100);
}
.mobile-menu a.is-active { color: var(--gold-500); }
.mobile-menu a.btn {
  display: flex;
  width: auto;
  margin: 14px 20px 0;
  color: var(--white);
  border: 1.5px solid var(--navy-800);
  text-align: center;
}

@media (min-width: 1100px) {
  .nav-links { display: flex; }
  .nav-cta { display: flex; }
  .nav-toggle { display: none; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .nav-phone { display: none; }
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(10,26,46,0.55) 0%, rgba(10,26,46,0.72) 55%, rgba(10,26,46,0.92) 100%),
    radial-gradient(ellipse 1200px 700px at 15% 20%, rgba(30,77,123,0.55), transparent 60%),
    linear-gradient(160deg, #0a1a2e 0%, #0f2540 55%, #163a5f 100%);
  color: var(--white);
  overflow: hidden;
}
.hero-skyline {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  opacity: 0.5;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% -10%;
  height: 60%;
  background: radial-gradient(ellipse at bottom, rgba(184,147,90,0.16), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-h) + 40px) 20px 80px;
  width: 100%;
}
.hero .eyebrow { color: var(--gold-400); }
.hero p.lede { color: var(--gray-200); font-size: 1.12rem; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-agent {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.hero-agent .avatar-circle { width: 56px; height: 56px; font-size: 1.2rem; margin-bottom: 0; flex-shrink: 0; }
.hero-agent .who { font-weight: 700; font-family: var(--font-serif); font-size: 1.05rem; }
.hero-agent .role { font-size: 0.82rem; color: var(--gray-400); }
.hero-agent .stars { font-size: 0.85rem; }

/* ---------- Stats bar ---------- */
.stats-bar {
  position: relative;
  z-index: 2;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 640px;
}
.stats-bar .stat-num { font-family: var(--font-serif); font-size: 2.1rem; font-weight: 600; color: var(--gold-400); }
.stats-bar .stat-label { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-400); }
@media (min-width: 640px) { .stats-bar { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Avatar placeholder ---------- */
.avatar-circle {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 2rem;
  font-family: var(--font-sans);
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}
.stars { color: var(--gold-500); letter-spacing: 2px; }
.section--navy .stars, .hero .stars { color: var(--gold-400); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: minmax(0, 1fr); }
.grid-3 { grid-template-columns: minmax(0, 1fr); }
.grid-4 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--gray-200); }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--gold-100);
  color: var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: background .25s ease, color .25s ease;
}
.card:hover .card-icon { background: var(--gold-500); color: var(--white); }
.card-icon svg { width: 24px; height: 24px; }

/* Philosophy / values cards */
.value-card { text-align: center; padding: 26px 20px; }
.value-card .card-icon { margin: 0 auto 16px; }

.area-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--gray-200);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-600);
  background: var(--white);
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.area-chip:hover { border-color: var(--gold-500); color: var(--navy-900); transform: translateY(-2px); }

.testimonial {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: box-shadow .25s ease, transform .25s ease;
}
.testimonial:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.testimonial .stars { margin-bottom: 14px; display: block; }
.testimonial p { color: var(--gray-800); font-style: italic; }
.testimonial footer { font-weight: 700; font-size: 0.85rem; color: var(--navy-800); margin-top: 12px; }
.testimonial footer span { display: block; font-weight: 500; color: var(--gray-400); font-size: 0.78rem; margin-top: 2px; }

.vendor-category { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-500); font-weight: 600; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 56px; margin-bottom: 28px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-400);
  font-family: var(--font-serif);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  padding: 52px 32px;
  color: var(--white);
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--gray-200); max-width: 52ch; margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--navy-800); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--text);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--gold-500);
  outline-offset: 1px;
  border-color: var(--gold-500);
}
.form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: 0.8rem; color: var(--gray-400); }

/* JotForm embed container */
.jotform-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.jotform-embed { width: 100%; }
.jotform-embed iframe { width: 100%; border: none; display: block; }
.jotform-fallback {
  text-align: center;
  padding: 14px 20px;
  font-size: 0.82rem;
  color: var(--gray-400);
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}
.jotform-fallback a { color: var(--gold-500); font-weight: 600; }

/* ---------- Contact info list ---------- */
.info-list { display: grid; gap: 18px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item .card-icon { flex-shrink: 0; margin-bottom: 0; width: 42px; height: 42px; }
.info-item h3 { margin-bottom: 2px; font-size: 1rem; }
.info-item p { margin: 0; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--gray-200); padding: 18px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 1rem; color: var(--navy-900); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--gold-500); font-weight: 400; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--gray-400); padding: 56px 0 24px; }
.footer-grid { display: grid; gap: 36px; margin-bottom: 40px; }
.footer-col h4 { font-family: var(--font-sans); color: var(--white); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: var(--gray-400); margin-bottom: 10px; font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold-400); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-family: var(--font-serif); font-weight: 700; font-size: 1.1rem; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.8rem; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; align-items: center; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold-500); color: var(--navy-900);
  padding: 10px 16px; font-weight: 700; z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Inner page hero ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--white);
  padding: calc(var(--header-h) + 56px) 0 64px;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: var(--gray-200); max-width: 60ch; font-size: 1.08rem; }
.page-hero .eyebrow { color: var(--gold-400); }
.breadcrumb { font-size: 0.82rem; color: var(--gray-400); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--gold-400); }

/* ---------- Vendor detail cards ---------- */
.vendor-detail { display: flex; flex-direction: column; gap: 14px; }
.vendor-detail h3 { margin: 0; }
.vendor-detail .vendor-category { margin-top: -6px; }
.vendor-detail p { margin: 0; font-size: 0.92rem; }
.vendor-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }

/* ---------- Agent photo ---------- */
.avatar-circle { position: relative; overflow: hidden; }
.avatar-circle img, .agent-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.agent-photo {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-900);
  font-family: var(--font-serif); font-weight: 700; font-size: 4rem;
  box-shadow: var(--shadow-lg);
}

/* ---------- Recent sales ---------- */
.sales-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 560px; margin: 0 auto 48px; text-align: center;
}
.sales-stats .stat-num { font-family: var(--font-serif); font-size: 2rem; font-weight: 600; color: var(--navy-800); }
.sales-stats .stat-label { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-600); }
.sale-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease;
}
.sale-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.sale-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  overflow: hidden;
}
.sale-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sale-card:hover .sale-photo img { transform: scale(1.04); }
.sale-badge {
  position: absolute; left: 14px; bottom: 14px;
  background: var(--navy-900); color: var(--white);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 6px 12px; border-radius: 999px;
}
.sale-body { padding: 20px 22px 22px; }
.sale-body h3 { margin: 0 0 2px; font-size: 1.1rem; }
.sale-body p { margin: 0; font-size: 0.9rem; }
.sale-loc { color: var(--gray-600); }
.sale-meta { margin-top: 8px !important; color: var(--gray-800); }
.sale-role { margin-top: 6px !important; font-size: 0.78rem !important; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold-500); }
.sales-note { text-align: center; font-size: 0.78rem; color: var(--gray-400); margin-top: 28px; }
.vendor-detail p a { white-space: nowrap; }

/* ---------- Vendor logos ---------- */
.vendor-logo {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 3 / 2;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s ease;
}
.vendor-logo:hover { border-color: var(--gold-500); }
.vendor-logo img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.vendor-logo:hover img { transform: scale(1.04); }
.vendor-logo--dark { background: var(--navy-800); border-color: var(--navy-800); }
/* Logos exported with a lot of empty margin */
.logo-zoom-wide { padding: 0; }
.logo-zoom-wide img { transform: scale(1.55); }
.logo-zoom-wide:hover img { transform: scale(1.6); }
.logo-zoom-tall img { transform: scale(1.7); transform-origin: 50% 44%; }
.logo-zoom-tall:hover img { transform: scale(1.75); }

/* ---------- Brokerage disclosure ---------- */
.brokerage-logo {
  display: inline-flex; align-items: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-top: 6px;
  transition: border-color .2s ease;
}
.brokerage-logo:hover { border-color: var(--gold-500); }
.brokerage-logo img { height: 34px; width: auto; }
.brokerage-line { display: flex; align-items: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.brokerage-line .brokerage-logo { margin-top: 0; }
.brokerage-line p { margin: 0; font-size: 0.88rem; flex: 1 1 200px; }

/* ---------- Header brokerage logo ---------- */
.brand-wrap { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-broker {
  display: inline-flex; align-items: center; flex-shrink: 0;
  background: var(--white);
  border-radius: 6px;
  padding: 5px 8px;
  transition: transform .2s ease;
}
.brand-broker:hover { transform: translateY(-1px); }
.brand-broker img { height: 22px; width: auto; }
.brand-text { white-space: nowrap; }
@media (max-width: 439px) {
  .brand-text small { display: none; }
  .brand-wrap { gap: 10px; }
}
.site-header .container { max-width: 1280px; }
.nav-phone { white-space: nowrap; }
