.brw-hydro-contact-form-wrap,
.brw-hydro-contact-form-wrap * {
  box-sizing: border-box;
}

.brw-hydro-contact-form-wrap {
  --hrcf-purple: #9353ff;
  --hrcf-purple-2: #6b36d9;
  --hrcf-deep: #210d4d;
  --hrcf-deep-2: #130725;
  --hrcf-ink: #14121d;
  --hrcf-muted: #5e576d;
  --hrcf-line: rgba(147, 83, 255, 0.16);
  color: var(--hrcf-ink);
  font-family: Inter, Arial, sans-serif;
}

.brw-hydro-contact-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--hrcf-line);
  background: #ffffff;
  box-shadow: 0 22px 56px rgba(40, 22, 80, 0.09);
  padding: 28px;
}

.brw-hydro-contact-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--hrcf-purple), var(--hrcf-purple-2));
}

.brw-hydro-contact-head {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.brw-hydro-contact-head span {
  display: inline-flex;
  width: max-content;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  background: rgba(147, 83, 255, 0.1);
  border: 1px solid rgba(147, 83, 255, 0.14);
  color: #7c45e8;
  padding: 0 12px;
  font-size: 11px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.brw-hydro-contact-head h2 {
  margin: 0;
  color: var(--hrcf-ink);
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.025em;
}

.brw-hydro-contact-head p {
  max-width: 780px;
  margin: 0;
  color: var(--hrcf-muted);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 720;
}

.brw-hydro-contact-alert,
.brw-hydro-contact-ajax-alert {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 800;
}

.brw-hydro-contact-alert-title {
  margin: 0 0 7px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 950;
}

.brw-hydro-contact-alert-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
}

.brw-hydro-contact-alert-success {
  background: rgba(42, 138, 89, 0.09);
  border: 1px solid rgba(42, 138, 89, 0.18);
  color: #166534;
}

.brw-hydro-contact-alert-error {
  background: rgba(185, 28, 28, 0.08);
  border: 1px solid rgba(185, 28, 28, 0.16);
  color: #991b1b;
}

.brw-hydro-direct-email {
  display: grid;
  gap: 5px;
  margin: 0 0 18px;
  padding: 16px;
  border-radius: 16px;
  background: #f8f3ff;
  border: 1px solid rgba(147, 83, 255, 0.13);
}

.brw-hydro-direct-email strong {
  color: var(--hrcf-muted);
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brw-hydro-direct-email a {
  color: #7d45e8;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 950;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.brw-hydro-direct-email a:hover,
.brw-hydro-direct-email a:focus-visible {
  color: #563d7d;
  text-decoration: underline;
  text-underline-offset: 3px;
  outline: 0;
}

.brw-hydro-contact-hp {
  position: absolute !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.brw-hydro-contact-form {
  display: grid;
  gap: 16px;
}

.brw-hydro-contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.brw-hydro-field label {
  display: block;
  margin: 0 0 8px;
  color: #20172f;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 950;
}

.brw-hydro-field label span {
  color: #7d45e8;
}

.brw-hydro-contact-form input,
.brw-hydro-contact-form textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(147, 83, 255, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--hrcf-ink);
  padding: 0 15px;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.brw-hydro-contact-form textarea {
  min-height: 154px;
  resize: vertical;
  padding-top: 14px;
  line-height: 1.55;
}

.brw-hydro-contact-form input:hover,
.brw-hydro-contact-form textarea:hover {
  border-color: rgba(147, 83, 255, 0.28);
}

.brw-hydro-contact-form input:focus,
.brw-hydro-contact-form textarea:focus {
  background: #ffffff;
  border-color: rgba(147, 83, 255, 0.52);
  box-shadow: 0 0 0 4px rgba(147, 83, 255, 0.11);
}

.brw-hydro-contact-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.brw-hydro-submit,
.brw-hydro-contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(90deg, #8c49f5, #563d7d);
  color: #ffffff;
  font-family: inherit;
  padding: 0 26px;
  font-size: 15px;
  line-height: 1;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(86, 61, 125, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.brw-hydro-submit:hover,
.brw-hydro-contact-form button:hover,
.brw-hydro-submit:focus-visible,
.brw-hydro-contact-form button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(86, 61, 125, 0.29);
  outline: 0;
}

.brw-hydro-submit:disabled,
.brw-hydro-contact-form button:disabled {
  cursor: not-allowed;
  opacity: 0.78;
  transform: none !important;
}

.brw-hydro-contact-actions p {
  max-width: 340px;
  margin: 0;
  color: var(--hrcf-muted);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 760;
}

.brw-hydro-contact-ajax-alert {
  display: none;
}

@media (max-width: 760px) {
  .brw-hydro-contact-card {
    border-radius: 18px;
    padding: 22px 16px;
  }

  .brw-hydro-contact-form-row {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .brw-hydro-contact-form input,
  .brw-hydro-contact-form textarea {
    border-radius: 14px;
  }

  .brw-hydro-contact-actions {
    display: grid;
    gap: 10px;
  }

  .brw-hydro-submit,
  .brw-hydro-contact-form button {
    width: 100%;
  }
}

@media (hover: none) {
  .brw-hydro-submit:hover,
  .brw-hydro-contact-form button:hover {
    transform: none;
  }
}

/* Clean Hydro Research 2026 refresh: no rainbow/cyan wash, compact form surface. */
.brw-hydro-contact-form-wrap {
  --hrcf-purple: #9353ff;
  --hrcf-purple-2: #563d7d;
  --hrcf-ink: #171321;
  --hrcf-muted: #5c5668;
  --hrcf-line: rgba(42, 32, 64, 0.08);
}

.brw-hydro-contact-card {
  border-radius: 20px;
  border: 1px solid var(--hrcf-line);
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(40, 22, 80, 0.07);
  padding: 24px;
}

.brw-hydro-contact-card:before {
  content: none;
}

.brw-hydro-contact-head {
  margin-bottom: 18px;
}

.brw-hydro-contact-head span {
  min-height: 30px;
  background: #f2eaff;
  border-color: rgba(147, 83, 255, 0.18);
  color: #7d45e8;
  font-size: 11px;
}

.brw-hydro-contact-head h2 {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: 0;
}

.brw-hydro-contact-head p {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 650;
}

.brw-hydro-direct-email {
  background: #ffffff;
  border-color: var(--hrcf-line);
  box-shadow: 0 8px 18px rgba(45, 25, 88, 0.035);
}

.brw-hydro-contact-form {
  gap: 14px;
}

.brw-hydro-contact-form-row {
  gap: 12px;
}

.brw-hydro-field label {
  margin-bottom: 7px;
  color: #20172f;
  font-size: 12px;
}

.brw-hydro-contact-form input,
.brw-hydro-contact-form textarea {
  min-height: 50px;
  border: 1px solid rgba(42, 32, 64, 0.09);
  border-radius: 12px;
  background: #ffffff;
  font-size: 14px;
  font-weight: 650;
  box-shadow: none;
}

.brw-hydro-contact-form textarea {
  min-height: 138px;
}

.brw-hydro-contact-form input:hover,
.brw-hydro-contact-form textarea:hover {
  border-color: rgba(147, 83, 255, 0.22);
}

.brw-hydro-contact-form input:focus,
.brw-hydro-contact-form textarea:focus {
  border-color: rgba(147, 83, 255, 0.46);
  box-shadow: 0 0 0 4px rgba(147, 83, 255, 0.10);
}

.brw-hydro-submit,
.brw-hydro-contact-form button {
  min-height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--hrcf-purple), var(--hrcf-purple-2));
  padding: 0 22px;
  font-size: 13px;
  box-shadow: 0 14px 28px rgba(86, 61, 125, 0.18);
}

.brw-hydro-submit:hover,
.brw-hydro-contact-form button:hover,
.brw-hydro-submit:focus-visible,
.brw-hydro-contact-form button:focus-visible {
  box-shadow: 0 18px 36px rgba(86, 61, 125, 0.24);
}

.brw-hydro-contact-actions p {
  display: none;
}

@media (max-width: 760px) {
  .brw-hydro-contact-card {
    border-radius: 18px;
    padding: 18px;
  }

  .brw-hydro-contact-form input,
  .brw-hydro-contact-form textarea {
    border-radius: 12px;
  }
}

/* Footer Omnisend subscribe messages */
.hrp-omnisend-subscribe-form .hrp-subscribe-message {
  display: none;
  margin: 4px 0 0;
  padding: 10px 12px;
  border-radius: 9px;
  font: 800 12px/1.35 Inter, Arial, sans-serif;
  text-align: center;
}
.hrp-omnisend-subscribe-form .hrp-subscribe-message--success {
  display: block;
  color: #dfffea;
  background: rgba(31, 156, 88, 0.22);
  border: 1px solid rgba(138, 255, 181, 0.24);
}
.hrp-omnisend-subscribe-form .hrp-subscribe-message--error {
  display: block;
  color: #ffe0e0;
  background: rgba(220, 38, 38, 0.22);
  border: 1px solid rgba(255, 160, 160, 0.26);
}
.hrp-omnisend-subscribe-form button.is-loading {
  opacity: 0.75;
  cursor: wait;
}
.hrp-subscribe-hp {
  position: absolute !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
