/* 214 Veteran Solutions — site-wide contact + booking band (release 20260930d).
   Injected before the site footer by vs214-contact-booking-20260930d.js.
   Layout mirrors the CSW site contact section (intro + actions beside a compact
   form card; compact booking-only band; mobile sticky contact bar) in 214 brand.
   Every rule is scoped under .vs214cb / .vs214cb-bar so it cannot restyle the React app. */
.vs214cb, .vs214cb-bar {
  --vs214cb-navy: #13233d;
  --vs214cb-navy: oklch(0.22 0.05 250);
  --vs214cb-red: #b3261e;
  --vs214cb-red: oklch(0.5 0.18 25);
  --vs214cb-red-dark: #93201a;
  --vs214cb-red-dark: oklch(0.44 0.17 25);
  --vs214cb-cream: #f7f4ee;
  --vs214cb-cream: oklch(0.97 0.008 80);
  --vs214cb-gold: #d79a2b;
  --vs214cb-line: rgba(19, 35, 61, 0.16);
  --vs214cb-muted: rgba(19, 35, 61, 0.72);
}
.vs214cb {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin: 0;
  padding: 56px 24px;
  background: var(--vs214cb-cream);
  border-top: 1px solid var(--vs214cb-line);
  color: var(--vs214cb-navy);
  font-family: "Work Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-align: left;
}
.vs214cb *, .vs214cb *::before, .vs214cb *::after { box-sizing: border-box; }
.vs214cb[hidden], .vs214cb [hidden] { display: none !important; }
.vs214cb__inner { max-width: 1216px; margin: 0 auto; }
.vs214cb__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: start;
}

/* ---------- intro column ---------- */
.vs214cb__intro { max-width: 576px; min-width: 0; }
.vs214cb__eyebrow {
  margin: 0 0 10px;
  color: var(--vs214cb-red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.vs214cb__title {
  margin: 0;
  color: var(--vs214cb-navy);
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.15;
}
.vs214cb__rule {
  display: block;
  width: 72px;
  height: 3px;
  margin: 18px 0 22px;
  border-radius: 2px;
  background: var(--vs214cb-gold);
}
.vs214cb__lede { margin: 0 0 24px; color: var(--vs214cb-muted); font-size: 17px; }
.vs214cb__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.vs214cb__note { margin: 14px 0 0; color: var(--vs214cb-muted); font-size: 14px; line-height: 1.5; }
.vs214cb__call { margin: 12px 0 0; color: var(--vs214cb-muted); font-size: 15px; }
.vs214cb__call a { color: var(--vs214cb-navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.vs214cb__call a:hover { color: var(--vs214cb-red); }
.vs214cb__alt { margin: 10px 0 0; font-size: 15px; }
.vs214cb__tel { white-space: nowrap; }
.vs214cb__to-form {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--vs214cb-navy);
  font: inherit;
  font-weight: 600;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.vs214cb__to-form:hover { color: var(--vs214cb-red); }
.vs214cb__to-form:focus-visible { outline: 3px solid var(--vs214cb-gold); outline-offset: 2px; }

/* ---------- buttons ---------- */
.vs214cb__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  margin: 18px 0 0;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--vs214cb-red);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.vs214cb__btn:hover { background: var(--vs214cb-red-dark); color: #fff; }
.vs214cb__btn:focus-visible { outline: 3px solid var(--vs214cb-gold); outline-offset: 2px; }
.vs214cb__btn[disabled] { opacity: 0.7; cursor: progress; }
.vs214cb__btn svg { flex: none; width: 20px; height: 20px; }
.vs214cb__actions .vs214cb__btn { width: auto; margin: 0; }
.vs214cb__btn--outline {
  background: transparent;
  border-color: rgba(19, 35, 61, 0.35);
  color: var(--vs214cb-navy);
}
.vs214cb__btn--outline:hover { background: #fff; border-color: var(--vs214cb-navy); color: var(--vs214cb-navy); }

/* ---------- form card ---------- */
.vs214cb__form-slot { min-width: 0; }
.vs214cb__card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid rgba(215, 154, 43, 0.45);
  border-radius: 12px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
  padding: 24px;
}
.vs214cb__card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--vs214cb-navy);
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.2;
}
.vs214cb__card-icon { display: inline-flex; flex: none; color: var(--vs214cb-red); }
.vs214cb__card-icon svg { width: 20px; height: 20px; }
.vs214cb__fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.vs214cb__field { display: flex; flex-direction: column; min-width: 0; }
.vs214cb__label {
  margin: 0 0 6px;
  color: var(--vs214cb-navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.vs214cb__req { color: var(--vs214cb-red); }
.vs214cb__input, .vs214cb__select, .vs214cb__textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--vs214cb-line);
  border-radius: 6px;
  background: #fcfbf8;
  color: var(--vs214cb-navy);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
}
.vs214cb__select {
  padding-right: 40px;
  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='%2313233d' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.vs214cb__textarea { min-height: 96px; resize: vertical; }
.vs214cb__input:focus, .vs214cb__select:focus, .vs214cb__textarea:focus {
  outline: 2px solid var(--vs214cb-red);
  outline-offset: 1px;
  border-color: var(--vs214cb-red);
  background: #fff;
}
.vs214cb__input[aria-invalid="true"], .vs214cb__textarea[aria-invalid="true"] { border-color: var(--vs214cb-red); }
.vs214cb__error { min-height: 0; margin: 6px 0 0; color: var(--vs214cb-red-dark); font-size: 13px; font-weight: 500; }
.vs214cb__error:empty { display: none; }
.vs214cb__hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.vs214cb__fine { margin: 12px 0 0; color: var(--vs214cb-muted); font-size: 12px; text-align: center; }
.vs214cb__status { margin: 14px 0 0; font-size: 15px; font-weight: 500; }
.vs214cb__status:empty { display: none; }
.vs214cb__status--error { color: var(--vs214cb-red-dark); }
.vs214cb__success { padding: 8px 0 4px; }
.vs214cb__success h3 {
  margin: 0 0 8px;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
}
.vs214cb__success p { margin: 0; color: var(--vs214cb-muted); }

/* ---------- booking-only band (page already has its own form) ---------- */
.vs214cb--booking-only { padding: 40px 24px; }
.vs214cb--booking-only .vs214cb__grid { grid-template-columns: minmax(0, 1fr); }
.vs214cb--booking-only .vs214cb__intro {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "eyebrow actions" "title actions" "note actions" "call actions" "alt actions";
  column-gap: 40px;
  align-items: start;
}
.vs214cb--booking-only .vs214cb__eyebrow { grid-area: eyebrow; }
.vs214cb--booking-only .vs214cb__title { grid-area: title; margin: 0 0 8px; font-size: clamp(24px, 2.4vw, 30px); }
.vs214cb--booking-only .vs214cb__rule { display: none; }
.vs214cb--booking-only .vs214cb__note { grid-area: note; margin: 0; max-width: 680px; }
.vs214cb--booking-only .vs214cb__call { grid-area: call; margin: 8px 0 0; }
.vs214cb--booking-only .vs214cb__alt { grid-area: alt; margin: 6px 0 0; }
.vs214cb--booking-only .vs214cb__actions { grid-area: actions; align-self: center; flex-wrap: nowrap; }

@media (max-width: 1023px) {
  .vs214cb--booking-only .vs214cb__actions { flex-wrap: wrap; flex-direction: column; }
}
@media (max-width: 767px) {
  .vs214cb { padding: 40px 16px; }
  .vs214cb--booking-only { padding: 32px 16px; }
  .vs214cb__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .vs214cb__intro { max-width: none; }
  .vs214cb__card { max-width: none; padding: 20px; }
  .vs214cb--booking-only .vs214cb__intro { display: block; }
  .vs214cb--booking-only .vs214cb__actions { margin: 18px 0 0; }
  .vs214cb--booking-only .vs214cb__note { margin: 14px 0 0; }
}
@media (max-width: 560px) {
  .vs214cb__actions { flex-direction: column; }
  .vs214cb__actions .vs214cb__btn { width: 100%; }
  .vs214cb__lede { font-size: 16px; }
}

/* ---------- mobile sticky contact bar ---------- */
.vs214cb-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  box-sizing: border-box;
  margin: 0;
  padding: 0 0 env(safe-area-inset-bottom, 0px);
  background: var(--vs214cb-navy);
  border-top: 1px solid rgba(215, 154, 43, 0.4);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.12);
  font-family: "Work Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
.vs214cb-bar *, .vs214cb-bar *::before, .vs214cb-bar *::after { box-sizing: border-box; }
.vs214cb-bar__item {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 60px;
  margin: 0;
  padding: 8px 4px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.vs214cb-bar__item:first-child { border-left: 0; }
.vs214cb-bar__item svg { flex: none; width: 20px; height: 20px; color: var(--vs214cb-gold); }
.vs214cb-bar__item:focus-visible { outline: 3px solid var(--vs214cb-gold); outline-offset: -3px; }
.vs214cb-bar__call { background: var(--vs214cb-red); }
.vs214cb-bar__call svg { color: #fff; }
.vs214cb-bar--lp .vs214cb-bar__item { flex-direction: row; gap: 8px; min-height: 52px; font-size: 14px; }
.vs214cb-bar--lp .vs214cb-bar__estimate { background: #fff; color: var(--vs214cb-navy); }
.vs214cb-bar--lp .vs214cb-bar__estimate svg { color: var(--vs214cb-red); }
@media (max-width: 767px) {
  .vs214cb-bar--site { display: flex; }
  html.vs214cb-has-bar--site body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 1023px) {
  .vs214cb-bar--lp { display: flex; }
  html.vs214cb-has-bar--lp body { padding-bottom: calc(52px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 359px) {
  .vs214cb-bar--lp .vs214cb-bar__item { font-size: 12px; gap: 6px; }
}
@media (prefers-reduced-motion: no-preference) {
  .vs214cb__btn { transition: background-color 0.15s ease, border-color 0.15s ease; }
}

/* ---------- fixed site header while it overlaps the band (class set by the band script) ---------- */
#root nav.vs214cb-nav-over-band, #root nav.vs214cb-nav-over-band * { transition: none !important; }
#root nav.vs214cb-nav-over-band.bg-transparent { background-color: #13233d; background-color: oklch(0.22 0.05 250); }
