/* 20260928kbms-logo-row — white lockup on the dark bar */
/* 20260928kbms-black — blue/yellow homepage1 colors become black */
:root {
  --ink: #111111;
  --ink-2: #222222;
  --body: #333333;
  --muted: #666666;
  --line: #e5e5e5;
  --line-strong: #cccccc;
  --bg: #f6f6f6;
  --bg-tint: #eeeeee;
  --bg-dark: #111111;
  --bg-dark-2: #1c1c1c;
  --gold: #ffffff;
  --gold-deep: #e6e6e6;
  --gold-soft: #f0f0f0;
  --accent: #111111;
  --accent-ink: #111111;
  --accent-tint: #f3f3f3;
}
/* 20260928kbms-footer — logo stays in the left column, tagline underneath */
.hdr .brand-mark {
  width: auto;
  height: 46px;
  max-width: min(520px, 58vw);
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}
.hdr.is-scrolled .brand-mark { height: 40px; }
.hdr .brand-text { display: none; }
.ftr-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.ftr-brand .brand-mark {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 64px;
  border-radius: 0;
  object-fit: contain;
  object-position: left center;
}
.ftr-brand > div { min-width: 0; }
.ftr-brand strong[data-site="companyName"] { display: none; }
.ftr-brand span[data-site="tagline"] {
  display: block;
  margin-top: 0;
  line-height: 1.45;
  white-space: normal;
}
.hdr { border-bottom-color: #2a2a2a; }
.hdr .tab { color: #cfcfcf; }
.hdr .tabbar { border-top-color: #2a2a2a; }
.hdr .pill-tel:hover { background: #2a2a2a; }
.hdr .btn-accent,
.hdr .btn-accent:hover { color: #111111; }
.btn-accent { color: #ffffff; }
.btn-accent:hover { background: #333333; color: #ffffff; }
.hero-bg {
  background:
    radial-gradient(1000px 520px at 84% -8%, rgba(0, 0, 0, 0.04), transparent 62%),
    linear-gradient(180deg, #f7f7f7 0%, #efefef 58%, #f7f7f7 100%);
}
.hero.has-video .hero-media::after {
  background:
    linear-gradient(108deg, rgba(0, 0, 0, 0.88) 0%, rgba(17, 17, 17, 0.72) 48%, rgba(0, 0, 0, 0.35) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.16) 52%, rgba(0, 0, 0, 0.48) 100%);
}
.band-dark,
.band-dark .sec-lead,
.broker-report p,
.svc-diff-card p,
.ftr-info dd { color: #d0d0d0; }
/* 20260928kbms-consent-row — checkbox left, copy to its right */
.form .consent .chk {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 12px;
}
.form .consent .chk input {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
}
.form .consent .chk span {
  flex: 1 1 auto;
  min-width: 0;
}
/* 20260928kbms-hdr-fixed — other tabs were shrinking the header */
.hdr.is-scrolled .hdr-inner { min-height: 72px; }
.hdr.is-scrolled .brand-mark { height: 46px; }
@media (max-width: 480px) {
  .hdr.is-scrolled .hdr-inner { min-height: 64px; }
}
/* 20260928kbms-lead-form-light — light card, dark type, dark submit */
.contact-grid.reveal.is-in #lead-form,
.contact-grid.reveal #lead-form {
  --kbms-lead-shell: #ffffff;
  --kbms-lead-field: #ffffff;
  background: var(--kbms-lead-shell);
  color: #222222;
  border: 1px solid #e5e5e5;
  border-radius: 22px;
  padding: 28px 26px 22px;
  box-shadow:
    0 18px 40px rgba(17, 17, 17, 0.08);
}
.contact-grid.reveal #lead-form > .f-row {
  gap: 14px 18px;
  margin-bottom: 16px;
}
.contact-grid.reveal #lead-form > .f-row .field { margin-bottom: 0; }
.contact-grid.reveal #lead-form > .f-row:nth-child(3) {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e8e8e8;
}
.contact-grid.reveal #lead-form .field > label,
.contact-grid.reveal #lead-form .field > legend {
  margin-bottom: 8px;
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.04em;
  color: #222222;
}
.contact-grid.reveal #lead-form .req { color: #111111; }
.contact-grid.reveal #lead-form input[type="text"],
.contact-grid.reveal #lead-form input[type="tel"],
.contact-grid.reveal #lead-form select,
.contact-grid.reveal #lead-form textarea {
  min-height: 52px;
  padding: 13px 16px;
  color: #222222;
  caret-color: #222222;
  color-scheme: light;
  background-color: #ffffff;
  border: 1px solid #d0d0d0;
  border-radius: 12px;
}
.contact-grid.reveal #lead-form textarea {
  min-height: 124px;
  background-color: #ffffff;
}
.contact-grid.reveal #lead-form input:hover,
.contact-grid.reveal #lead-form select:hover,
.contact-grid.reveal #lead-form textarea:hover { border-color: #888888; }
.contact-grid.reveal #lead-form input:focus,
.contact-grid.reveal #lead-form select:focus,
.contact-grid.reveal #lead-form textarea:focus {
  border-color: #111111;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.12);
}
.contact-grid.reveal #lead-form textarea:focus { background-color: #ffffff; }
.contact-grid.reveal #lead-form input:-webkit-autofill,
.contact-grid.reveal #lead-form input:-webkit-autofill:hover,
.contact-grid.reveal #lead-form input:-webkit-autofill:focus,
.contact-grid.reveal #lead-form textarea:-webkit-autofill,
.contact-grid.reveal #lead-form select:-webkit-autofill {
  -webkit-text-fill-color: #222222;
  caret-color: #222222;
  border: 1px solid #d0d0d0;
  box-shadow: 0 0 0 1000px #ffffff inset;
  transition: background-color 99999s ease-out 0s;
}
.contact-grid.reveal #lead-form ::placeholder {
  color: #8a8a8a;
  opacity: 1;
}
.contact-grid.reveal #lead-form select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #ffffff;
  background-image:
    linear-gradient(45deg, transparent 50%, #222222 50%),
    linear-gradient(135deg, #222222 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% - 1px), calc(100% - 14px) calc(50% - 1px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}
.contact-grid.reveal #lead-form select:focus {
  background-color: #ffffff;
  background-image:
    linear-gradient(45deg, transparent 50%, #222222 50%),
    linear-gradient(135deg, #222222 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% - 1px), calc(100% - 14px) calc(50% - 1px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.contact-grid.reveal #lead-form select option,
.contact-grid.reveal #lead-form select optgroup {
  background-color: #ffffff;
  color: #222222;
}
.contact-grid.reveal #lead-form > fieldset.field {
  margin: 0 0 14px;
  padding: 16px 14px 14px;
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
}
.contact-grid.reveal #lead-form > fieldset.field > legend {
  float: none;
  width: auto;
  margin: 0 0 12px;
  padding: 0;
  color: #222222;
}
.contact-grid.reveal #lead-form > fieldset .radio-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.contact-grid.reveal #lead-form .rdo {
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #d4d4d4;
  border-radius: 12px;
  color: #222222;
  font-weight: 650;
}
.contact-grid.reveal #lead-form .rdo:hover {
  border-color: #888888;
  background: #f7f7f7;
}
.contact-grid.reveal #lead-form .rdo:has(input:checked) {
  background: #f7f7f7;
  border-color: #111111;
  color: #111111;
  font-weight: 800;
}
.contact-grid.reveal #lead-form .rdo input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1.5px solid #888888;
  background-color: #ffffff;
  background-image: none;
  box-shadow: none;
}
.contact-grid.reveal #lead-form .rdo input[type="radio"] { border-radius: 50%; }
.contact-grid.reveal #lead-form .rdo input[type="checkbox"] { border-radius: 4px; }
.contact-grid.reveal #lead-form .rdo input[type="radio"]:checked {
  border-color: #111111;
  background-color: #ffffff;
  background-image: radial-gradient(circle, #111111 0 3px, #ffffff 3.5px);
}
.contact-grid.reveal #lead-form .rdo input[type="checkbox"]:checked {
  border-color: #111111;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l5 5 9-10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}
.contact-grid.reveal #lead-form > .field:not(.consent) { margin-bottom: 16px; }
.contact-grid.reveal #lead-form .consent { margin: 4px 0 18px; }
.contact-grid.reveal #lead-form .consent .chk {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
  padding: 16px;
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  color: #222222;
}
.contact-grid.reveal #lead-form .consent .chk input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 22px;
  order: 0;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  border: 1.5px solid #888888;
  border-radius: 5px;
  background-color: #ffffff;
  background-image: none;
}
.contact-grid.reveal #lead-form .consent .chk span {
  display: block;
  flex: 1 1 auto;
  order: 1;
  min-width: 0;
}
.contact-grid.reveal #lead-form .consent .chk em { color: #666666; }
.contact-grid.reveal #lead-form .consent .chk:hover {
  border-color: #888888;
  background: #f3f3f3;
}
.contact-grid.reveal #lead-form .consent .chk:has(input:checked) {
  border-color: #111111;
  background: #f7f7f7;
}
.contact-grid.reveal #lead-form .consent .chk input:checked {
  background-color: #ffffff;
  border-color: #111111;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l5 5 9-10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}
.contact-grid.reveal #lead-form > .btn.btn-accent {
  min-height: 56px;
  border: 0;
  border-radius: 14px;
  background: #111111;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.03em;
  box-shadow: none;
}
.contact-grid.reveal #lead-form > .btn.btn-accent:hover {
  background: #333333;
  color: #ffffff;
}
.contact-grid.reveal #lead-form .form-note { color: #666666; }
.contact-grid.reveal #lead-form .err { color: #b42318; }
.contact-grid.reveal #lead-form .form-ok {
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
}
.contact-grid.reveal #lead-form .form-ok .ic,
.contact-grid.reveal #lead-form .form-ok strong { color: #111111; }
.contact-grid.reveal #lead-form .form-ok span { color: #555555; }
@media (max-width: 720px) {
  .contact-grid.reveal #lead-form {
    padding: 20px 16px 16px;
    border-radius: 16px;
  }
  .contact-grid.reveal #lead-form > fieldset .radio-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
