/*
  WHEELHOUSE CONTACT FORM — WP-CODER CSS (v2 - brand colors)
  Add this via WP-Coder and use its shortcode on the landing page.

  All text uses solid hex colors (no opacity).
  Minimum font size: 14px throughout.
  Targets HubSpot's generated .hs-* class structure.

  BRAND COLOR MAP
  ----------------------------------------
  #071e16   Very dark green  → page bg, input bg
  #003d31   Dark green       → card bg
  #005a47   Medium green     → borders
  #fed448   Yellow           → CTA button, focus ring
  #ffffff   White            → headings, input text
  #d9d9d9   Light grey       → labels, subtitle, note
  #8c8ca1   Muted grey       → placeholder, optional text
  ----------------------------------------
*/
.hs_error_rollup {
	display:none; 
}

.wh-contact-section {
  background: #071e16;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

/* Layer 2 — Radial gradient depth */
.wh-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(0,61,49,0.85) 0%, transparent 70%),
    radial-gradient(ellipse 30% 30% at 15% 20%, rgba(254,212,72,0.07) 0%, transparent 60%);
  pointer-events: none;
}

/* Layer 3 — Crosshatch grid texture */
.wh-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(192,216,215,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192,216,215,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ══════════════════════════════════════
   CARD — FROSTED GLASS
   ══════════════════════════════════════ */

.wh-contact-card {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(192,216,215,0.18);
  border-radius: 18px;
  padding: 40px 44px;
  max-width: 760px;
  margin: 0 auto;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ── Header ── */
.wh-contact-title {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.2;
}

.wh-contact-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  color: #d9d9d9;
  font-weight: 400;
  margin: 0 0 28px;
  line-height: 1.5;
}

/* ── Response note ── */
.wh-response-note {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: #d9d9d9;
  margin: 12px 0 0;
  text-align: right;
}

/* ══════════════════════════════════════
   HUBSPOT FORM OVERRIDES
   Scoped to .wh-contact-card
   ══════════════════════════════════════ */

.wh-contact-card .hs-form {
  font-family: 'Outfit', sans-serif;
}

/* Fieldsets = rows */
.wh-contact-card .hs-form fieldset {
  max-width: 100% !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
  border: none;
  padding: 0;
  min-width: 0;
}

.wh-contact-card .hs-form-field {
  flex: 1;
  min-width: 0;
}

/* Labels */
.wh-contact-card .hs-form-field > label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  color: #d9d9d9;
  margin-bottom: 8px;
}

/* Required asterisk */
.wh-contact-card .hs-form-field > label .hs-form-required {
  color: #fed448;
  margin-left: 2px;
}

/* Input wrapper div HubSpot adds */
.wh-contact-card .hs-form-field .input {
  margin: 0 !important;
}

/* ── All inputs, selects, textareas ── */
.wh-contact-card .hs-input {
  width: 100% !important;
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(192,216,215,0.22) !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  padding: 13px 17px !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, background 0.2s ease !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
}

.wh-contact-card .hs-input:focus {
  outline: none !important;
  border-color: rgba(254,212,72,0.6) !important;
  background: rgba(255,255,255,0.10) !important;
  box-shadow: none !important;
}

.wh-contact-card .hs-input::placeholder {
  color: #d9d9d9 !important;
}

/* Textarea */
.wh-contact-card textarea.hs-input {
  min-height: 120px !important;
  resize: vertical !important;
  line-height: 1.5 !important;
}

/* Select — custom dropdown arrow */
.wh-contact-card select.hs-input {
  cursor: pointer !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d9d9d9' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 17px center !important;
  background-color: rgba(255,255,255,0.07) !important;
  padding-right: 42px !important;
}

/* Select option bg (browser-rendered dropdown) */
.wh-contact-card select.hs-input option {
  background: #071e16;
  color: #ffffff;
}

/* ── Submit button ── */
.wh-contact-card .hs-submit .actions {
  margin-top: 24px;
}

.wh-contact-card .hs-button,
.wh-contact-card input.hs-button {
  background: #fed448 !important;
  color: #071e16 !important;
  border: none !important;
  border-radius: 50px !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 14px 30px !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
  box-shadow: none !important;
  display: inline-block !important;
  letter-spacing: 0 !important;
}

.wh-contact-card .hs-button:hover,
.wh-contact-card input.hs-button:hover {
  opacity: 0.88 !important;
}

/* ── Error messages ── */
.wh-contact-card .hs-error-msgs {
  list-style: none !important;
  margin: 6px 0 0 !important;
  padding: 0 !important;
}

.wh-contact-card .hs-error-msg {
  font-family: 'Outfit', sans-serif !important;
  font-size: 14px !important;
  color: #fed448 !important;
}

/* ── Success / confirmation message ── */
.wh-contact-card .submitted-message {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  color: #d9d9d9;
  text-align: center;
  padding: 24px 0;
  line-height: 1.6;
}
/* Fix checkbox — overrides 100% width inherited from .hs-input */
.wh-contact-card .hs-form-booleancheckbox-display {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  cursor: pointer !important;
}

.wh-contact-card .hs-form-booleancheckbox-display input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  accent-color: #fed448 !important;
  cursor: pointer !important;
  display: inline-block !important;
/*   background: none !important; */
  border: 1px solid white !important;
  border-radius: 0 !important;
  flex-shrink: 0 !important;
}
.wh-contact-card .hs-form-booleancheckbox-display input[type="checkbox"]:checked {
  accent-color: #fed448 !important;
  border-color: #fed448 !important;
	appearance: auto !important;
  -webkit-appearance: checkbox !important;
}

.wh-contact-card .inputs-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.wh-contact-card .inputs-list li {
  list-style: none !important;
}

.wh-contact-card .hs-form-booleancheckbox-display span {
  font-family: 'Outfit', sans-serif !important;
  font-size: 14px !important;
  color: #d9d9d9 !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
	margin-left: 5px !important;
}
.hs_recaptcha .input {
	height: 0 !important; 
}

.contact-recaptcha {
	padding-top:20px;  
}

.contact-recaptcha p {
	font-size: 14px; 
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .wh-contact-section {
    padding: 48px 16px;
  }

  .wh-contact-card {
    padding: 28px 20px;
  }

  .wh-contact-title {
    font-size: 22px;
  }

  .wh-contact-card .hs-form fieldset {
    flex-direction: column !important;
    gap: 0 !important;
  }
	.wh-contact-card .form-columns-2 .hs-form-field {
		width: 100% !important; 
	}

  .wh-contact-card .hs-form fieldset .hs-form-field {
    margin-bottom: 18px;
  }

  .wh-response-note {
    text-align: left;
  }
}
