.ts-contact-section {
  position: relative;
  background: #050817;
  padding: 46px 0 56px;
  overflow: hidden;
}

.ts-contact-section .container {
  position: relative;
  z-index: 1;
}

.ts-contact-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .08;
  pointer-events: none;
}

.ts-contact-banner {
  min-height: auto;
  height: auto;
  padding-top: 130px;
  padding-bottom: 24px;
}

.ts-contact-banner h2 {
  max-width: 980px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 130%;
}

.ts-contact-banner .mil-breadcrumbs {
  margin-bottom: 0 !important;
}

.ts-contact-brand {
  position: sticky;
  top: 100px;
  min-height: 100%;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ts-contact-brand-col {
  display: flex;
  justify-content: flex-start;
}

.ts-contact-logo {
  display: block;
  width: min(280px, 100%);
  margin: 0 auto;
}

.ts-contact-form-col {
  flex: 0 0 60%;
  max-width: 60%;
}

.ts-contact-form {
  padding: 42px 40px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.ts-contact-form h4 {
  font-size: 18px;
  line-height: 135%;
  margin-bottom: 34px !important;
}

.ts-contact-form p {
  font-size: 13px;
  line-height: 160%;
  margin-bottom: 28px !important;
}

.ts-contact-form .mil-input-frame {
  margin-bottom: 24px !important;
}

.ts-contact-form .mil-input-frame label {
  margin-bottom: 7px;
}

.ts-contact-form .mil-input-frame label span,
.ts-contact-form .mil-h6 {
  font-size: 13px;
}

.ts-contact-form .mil-input-frame input {
  height: 44px;
  padding: 0 14px;
  font-size: 13px;
}

.ts-contact-form .row .mil-mb-30 {
  margin-bottom: 0 !important;
}

.ts-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 36px !important;
}

.ts-topic-card {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 54px;
  padding: 13px 14px;
  border: 1px solid rgba(2, 1, 29, .1);
  border-radius: 8px;
  color: #02011D;
  cursor: pointer;
  transition: .2s cubic-bezier(0, 0, .3642, 1);
}

.ts-topic-card:hover,
.ts-topic-card:has(input:checked) {
  border-color: #00C6BC;
  background: rgba(0, 198, 188, .06);
}

.ts-topic-card input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: #00C6BC;
}

.ts-topic-card span {
  color: #02011D;
  font-weight: 600;
  font-size: 12px;
  line-height: 135%;
}

.ts-contact-form .ts-form-legal {
  font-size: 11px;
  line-height: 150%;
  margin-bottom: 24px !important;
}

.ts-contact-form .ts-form-consent {
  margin-bottom: 28px !important;
}

.ts-contact-form .ts-form-consent label {
  font-size: 11px !important;
  line-height: 145% !important;
}

.ts-contact-status {
  min-height: 24px;
  margin: 0 0 18px;
  color: rgba(2, 1, 29, .68);
}

.ts-contact-status--success {
  color: #00C6BC;
}

.ts-contact-status--error {
  color: #ff9b9b;
}

.ts-contact-form .mil-button {
  height: 48px;
  font-size: 13px;
  padding: 0 34px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

@media screen and (max-width: 992px) {
  .ts-contact-brand-col,
  .ts-contact-form-col {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .ts-contact-brand {
    position: relative;
    top: auto;
    justify-content: center;
  }

  .ts-topic-grid {
    grid-template-columns: 1fr;
  }

  .ts-contact-form {
    padding: 26px 22px;
  }
}
