/*
 * Velvet in-page buyer consultation form (job 47cd9d2b, 2026-10-24).
 * One shared, scoped section used on military, base, area, and luxury guide pages.
 * The form posts to /api/lead-request.php with the same fields and server-owned
 * consent contract as the VA and PCS consultation pages. Styles are scoped to
 * .vrg-consult so they cannot change any other section or form on a page.
 */
.vrg-consult {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  width: min(1180px, calc(100% - 40px));
  margin: clamp(40px, 6vw, 72px) auto;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 6px;
  background: #07142a;
  color: #fdf8f0;
  scroll-margin-top: 150px;
}
.vrg-consult__copy { min-width: 0; }
.vrg-consult__kicker {
  margin: 0 0 10px;
  color: #c19a5b;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.vrg-consult h2 {
  margin: 0 0 14px;
  color: #fdf8f0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  line-height: 1.15;
}
.vrg-consult__copy p { margin: 0 0 14px; color: rgba(253, 248, 240, 0.88); font-size: 16px; line-height: 1.6; }
.vrg-consult__copy a { color: #e8d3a8; text-decoration: underline; text-underline-offset: 3px; }
.vrg-consult__copy a:hover, .vrg-consult__copy a:focus-visible { color: #fdf8f0; }
.vrg-consult__call a { font-weight: 600; white-space: nowrap; }

.vrg-consult__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  min-width: 0;
  padding: clamp(18px, 3vw, 28px);
  border-radius: 4px;
  background: #fffdf9;
  color: #07142a;
}
.vrg-consult__form:focus { outline: none; }
.vrg-consult__form { scroll-margin-top: 150px; }
.vrg-consult__form .vrg-field {
  display: grid;
  gap: 6px;
  margin: 0;
  color: #07142a;
  font-size: 14px;
  font-weight: 600;
}
.vrg-consult__form .vrg-full { grid-column: 1 / -1; }
.vrg-consult__form input:not([type="checkbox"]):not([type="hidden"]),
.vrg-consult__form select,
.vrg-consult__form textarea {
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid rgba(82, 97, 118, 0.45);
  border-radius: 4px;
  background: #ffffff;
  color: #07142a;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
}
.vrg-consult__form textarea { min-height: 96px; resize: vertical; }
.vrg-consult__form input:focus-visible,
.vrg-consult__form select:focus-visible,
.vrg-consult__form textarea:focus-visible,
.vrg-consult__form summary:focus-visible,
.vrg-consult__form button:focus-visible {
  outline: 2px solid #c19a5b;
  outline-offset: 2px;
}
.vrg-consult__form .guide-honey {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.vrg-consult__form .inquiry-consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 2px 0 0;
  color: #26344a;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.5;
}
.vrg-consult__form .inquiry-consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #07142a; }
.vrg-consult__form .inquiry-consent a { color: #07142a; text-decoration: underline; text-underline-offset: 2px; }
.vrg-consult__submit {
  grid-column: 1 / -1;
  min-height: 50px;
  padding: 12px 20px;
  border: 0;
  border-radius: 4px;
  background: #07142a;
  color: #fdf8f0;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.vrg-consult__submit:hover { background: #13284a; }
.vrg-consult__form[data-submitting="true"] .vrg-consult__submit { opacity: 0.7; cursor: progress; }
.vrg-consult__note { grid-column: 1 / -1; margin: 0; color: #3b4a60; font-size: 13px; line-height: 1.5; }
.vrg-consult__note:empty { display: none; }
.vrg-consult__more {
  grid-column: 1 / -1;
  border: 1px solid rgba(82, 97, 118, 0.3);
  border-radius: 4px;
  background: #fffdf9;
}
.vrg-consult__more > summary {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  color: #07142a;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.vrg-consult__more-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  padding: 4px 14px 16px;
}
@media (max-width: 860px) {
  .vrg-consult { grid-template-columns: 1fr; width: calc(100% - 24px); padding: 22px 16px; }
  .vrg-consult__form, .vrg-consult__more-fields { grid-template-columns: 1fr; padding-left: 14px; padding-right: 14px; }
}

/* Page stylesheets set global h2, input, summary and note colors (some with !important),
   which changed this component on several guide pages. These scoped rules keep it legible. */
.vrg-consult.vrg-consult h2 {
  color: #fdf8f0 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: clamp(26px, 3.2vw, 38px) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.vrg-consult.vrg-consult .vrg-consult__form input:not([type="checkbox"]):not([type="hidden"]),
.vrg-consult.vrg-consult .vrg-consult__form select,
.vrg-consult.vrg-consult .vrg-consult__form textarea {
  border: 1px solid rgba(82, 97, 118, 0.45) !important;
  background: #ffffff !important;
  color: #07142a !important;
  font-size: 16px !important;
  box-shadow: none !important;
}
.vrg-consult.vrg-consult .vrg-consult__form input::placeholder,
.vrg-consult.vrg-consult .vrg-consult__form textarea::placeholder { color: #66748a !important; opacity: 1; }
.vrg-consult.vrg-consult .vrg-consult__form .vrg-field,
.vrg-consult.vrg-consult .vrg-consult__form .inquiry-consent { color: #07142a !important; }
.vrg-consult.vrg-consult .vrg-consult__note { color: #3b4a60 !important; }
.vrg-consult.vrg-consult .vrg-consult__more > summary {
  background: transparent !important;
  color: #07142a !important;
  border: 0 !important;
  font-size: 14px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.vrg-consult.vrg-consult .vrg-consult__submit { background: #07142a !important; color: #fdf8f0 !important; }
.vrg-consult.vrg-consult .vrg-consult__submit:hover { background: #13284a !important; }
#consultation.vrg-consult .vrg-consult__more { background: #fffdf9 !important; border: 1px solid rgba(82, 97, 118, 0.3) !important; }
#consultation.vrg-consult .vrg-consult__more > summary { background: transparent !important; color: #07142a !important; }
#consultation.vrg-consult .vrg-consult__form .inquiry-consent a,
#consultation.vrg-consult .vrg-consult__form .inquiry-consent span { color: #07142a !important; }
#consultation.vrg-consult .vrg-consult__form .inquiry-consent a { text-decoration: underline !important; }
#consultation.vrg-consult .vrg-consult__form .vrg-consult__note,
#consultation.vrg-consult .vrg-consult__form .vrg-field { color: #26344a !important; }
#consultation.vrg-consult .vrg-consult__copy p { color: rgba(253, 248, 240, 0.88) !important; }
#consultation.vrg-consult .vrg-consult__copy a { color: #e8d3a8 !important; }
#consultation.vrg-consult .vrg-consult__kicker { color: #c19a5b !important; }
