/* ---- Services: keep on one line (desktop) ---- */
@media (min-width: 768px) {
  .contact-form .checkbox-btns {
    flex-wrap: nowrap;
    gap: 22px;
  }
  .contact-form .checkbox-btns .checkbox-btn {
    gap: 12px;
    flex: 0 0 auto;
  }
  .contact-form .checkbox-btns .checkbox-label {
    white-space: nowrap;
  }
}

/* ---- Company type: "Other" wow reveal ---- */
.company-type-group .radio-btns {
  transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.45s ease,
    margin 0.35s ease;
  opacity: 1;
  transform: none;
  max-height: 240px;
  overflow: hidden;
}

.company-type-group.show-other .radio-btns {
  opacity: 0;
  transform: translateY(-10px);
  max-height: 0;
  margin: 0;
  pointer-events: none;
}

.company-other-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  transform: translateY(14px);
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease, max-height 0.5s ease;
}

.company-type-group.show-other .company-other-panel {
  opacity: 1;
  transform: none;
  max-height: 600px;
  pointer-events: auto;
}

/* staggered entrance for the revealed fields */
.company-other-panel > .input-group,
.company-other-panel > .company-other-back {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.company-type-group.show-other .company-other-panel > .input-group:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0.12s;
}
.company-type-group.show-other .company-other-panel > .input-group:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.22s;
}
.company-type-group.show-other .company-other-panel > .company-other-back {
  opacity: 1;
  transform: none;
  transition-delay: 0.32s;
}

.company-other-panel .opt {
  color: #666;
  font-weight: 400;
}

.contact-sec-2 .contact-form .company-other-panel .company-other-back {
  align-self: flex-start;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #666;
  font-size: 14px;
  text-transform: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}
.contact-sec-2 .contact-form .company-other-panel .company-other-back:hover {
  color: #fff;
  background: transparent;
}
.contact-sec-2 .contact-form .company-other-panel .company-other-back::before {
  content: "←";
  font-size: 16px;
  line-height: 1;
}
