/* Verben Garden public form select system
   Progressive enhancement for native <select> controls on quote/contact forms. */
.vg-form-select {
  position: relative;
  width: 100%;
  min-width: 0;
  font-family: inherit;
}
.vg-form-select__native {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}
.vg-form-select__trigger {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px 0 19px;
  border: 1px solid rgba(23,73,52,.18);
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  color: #173a2b;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 8px 22px rgba(21,51,39,.025);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease, transform .18s ease;
}
.vg-form-select__trigger:hover {
  border-color: rgba(23,73,52,.34);
  background: #fff;
}
.vg-form-select__trigger:focus-visible,
.vg-form-select.is-open .vg-form-select__trigger,
.vg-form-select:focus-within .vg-form-select__trigger {
  outline: none;
  border-color: rgba(31,102,70,.62);
  box-shadow: 0 0 0 4px rgba(57,127,91,.10), 0 12px 28px rgba(19,63,43,.07);
}
.vg-form-select__trigger.is-placeholder { color: #7f8b84; font-weight: 450; }
.vg-form-select__trigger:disabled { opacity: .58; cursor: not-allowed; background: #f4f5f2; }
.vg-form-select__chevron {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(29,86,60,.07);
  color: #1f6045;
  transition: transform .2s ease, background-color .18s ease;
}
.vg-form-select__chevron svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vg-form-select.is-open .vg-form-select__chevron { transform: rotate(180deg); background: rgba(29,86,60,.12); }
.vg-form-select__menu {
  position: fixed;
  z-index: 9999;
  max-height: min(330px, 45vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 7px;
  border: 1px solid rgba(24,70,51,.13);
  border-radius: 16px;
  background: rgba(255,255,255,.985);
  box-shadow: 0 20px 48px rgba(16,46,33,.14), 0 2px 8px rgba(16,46,33,.05);
  backdrop-filter: blur(16px);
  scrollbar-width: thin;
  scrollbar-color: rgba(38,97,70,.26) transparent;
}
.vg-form-select__menu[hidden] { display: none !important; }
.vg-form-select__menu::-webkit-scrollbar { width: 8px; }
.vg-form-select__menu::-webkit-scrollbar-thumb { background: rgba(38,97,70,.24); border-radius: 999px; border: 2px solid #fff; }
.vg-form-select__option {
  position: relative;
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 42px 10px 13px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #2d4138;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: color .15s ease, background-color .15s ease;
}
.vg-form-select__option:hover,
.vg-form-select__option:focus-visible {
  outline: none;
  color: #103c29;
  background: #f1f6f1;
}
.vg-form-select__option[aria-selected="true"] {
  color: #124832;
  background: #eaf3eb;
  font-weight: 650;
}
.vg-form-select__option[aria-selected="true"]::after {
  content: "✓";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #174d36;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.vg-form-select__option:disabled { opacity: .42; cursor: not-allowed; }
.vg-form-select__option--placeholder { color: #7f8b84; }

/* Quote forms */
.quote-field > .vg-form-select { margin-top: 0; }
.general-request-form .vg-form-select__trigger { min-height: 52px; border-radius: 13px; }
.quote-form .vg-form-select__menu { min-width: 100%; }

/* Contact form */
.contact-reference__field--select .vg-form-select { height: 100%; }
.contact-reference__field--select .vg-form-select__trigger {
  min-height: 58px;
  border-color: rgba(34,73,54,.18);
  border-radius: 14px;
  background: rgba(255,255,255,.9);
}
.contact-reference__field--select .vg-form-select__menu { z-index: 340; }

/* Keep the existing custom homepage selectors in the same visual family. */
.service-connect-select__trigger {
  border-radius: 14px !important;
  box-shadow: 0 8px 22px rgba(21,51,39,.025);
}
.service-connect-select__menu { border-radius: 16px !important; box-shadow: 0 20px 48px rgba(16,46,33,.14) !important; }

@media (max-width: 720px) {
  .vg-form-select__trigger { min-height: 50px; padding-inline: 16px 12px; font-size: 14px; border-radius: 12px; }
  .vg-form-select__chevron { width: 28px; height: 28px; flex-basis: 28px; }
  .vg-form-select__menu { border-radius: 14px; padding: 6px; }
  .vg-form-select__option { min-height: 42px; padding-block: 9px; font-size: 13.5px; }
}

/* Shared spam honeypot: must never participate in public form grids. */
.public-form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Contact page already had a decorative native-select chevron. Once the
   progressive custom select is mounted, only the component chevron remains. */
.contact-reference__field--select.vg-select-enhanced::after { display: none !important; }
